We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6258a3b commit bb7d93fCopy full SHA for bb7d93f
bastion.tf
@@ -30,6 +30,7 @@ resource "oci_core_volume_backup_policy" "bastion_boot_volume_backup_policy" {
30
}
31
32
resource "oci_core_volume_backup_policy_assignment" "boot_volume_backup_policy" {
33
+ count = var.bastion_boot_volume_backup ? 1 : 0
34
depends_on = [oci_core_volume_backup_policy.bastion_boot_volume_backup_policy]
35
asset_id = oci_core_instance.bastion.boot_volume_id
36
policy_id = oci_core_volume_backup_policy.bastion_boot_volume_backup_policy[0].id
0 commit comments