Skip to content

Commit a68ad5b

Browse files
Add deletion_protection field in cloudvmcluster resource (#12297) (#858)
[upstream:77315f8f88322e7bc019cc42437b56124448329c] Signed-off-by: Modular Magician <[email protected]>
1 parent 1e5e350 commit a68ad5b

File tree

2 files changed

+4
-0
lines changed
  • oracledatabase_cloud_vmcluster_basic
  • oracledatabase_cloud_vmcluster_full

2 files changed

+4
-0
lines changed

oracledatabase_cloud_vmcluster_basic/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ resource "google_oracle_database_cloud_vm_cluster" "my_vmcluster"{
1414
gi_version = "19.0.0.0"
1515
hostname_prefix = "hostname1"
1616
}
17+
18+
deletion_protection = "true-${local.name_suffix}"
1719
}
1820

1921
resource "google_oracle_database_cloud_exadata_infrastructure" "cloudExadataInfrastructures"{

oracledatabase_cloud_vmcluster_full/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ resource "google_oracle_database_cloud_vm_cluster" "my_vmcluster"{
3535
}
3636
memory_size_gb = 60
3737
}
38+
39+
deletion_protection = "true-${local.name_suffix}"
3840
}
3941

4042
resource "google_oracle_database_cloud_exadata_infrastructure" "cloudExadataInfrastructures"{

0 commit comments

Comments
 (0)