Skip to content

Commit a845af0

Browse files
Add deletion_protection field for cloudExadataInfrastructure resource (#12296) (#865)
[upstream:df8eb1b47a810a557f8216558b4fcc8f2df3c97c] Signed-off-by: Modular Magician <[email protected]>
1 parent 70c18ed commit a845af0

File tree

4 files changed

+8
-0
lines changed
  • oracledatabase_cloud_exadata_infrastructure_basic
  • oracledatabase_cloud_exadata_infrastructure_full
  • oracledatabase_cloud_vmcluster_basic
  • oracledatabase_cloud_vmcluster_full

4 files changed

+8
-0
lines changed

oracledatabase_cloud_exadata_infrastructure_basic/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ resource "google_oracle_database_cloud_exadata_infrastructure" "my-cloud-exadata
88
compute_count= "2"
99
storage_count= "3"
1010
}
11+
12+
deletion_protection = "true-${local.name_suffix}"
1113
}

oracledatabase_cloud_exadata_infrastructure_full/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ resource "google_oracle_database_cloud_exadata_infrastructure" "my-cloud-exadata
2727
labels = {
2828
"label-one" = "value-one"
2929
}
30+
31+
deletion_protection = "true-${local.name_suffix}"
3032
}

oracledatabase_cloud_vmcluster_basic/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ resource "google_oracle_database_cloud_exadata_infrastructure" "cloudExadataInfr
2828
compute_count= "2"
2929
storage_count= "3"
3030
}
31+
32+
deletion_protection = "true-${local.name_suffix}"
3133
}
3234

3335
data "google_compute_network" "default" {

oracledatabase_cloud_vmcluster_full/main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ resource "google_oracle_database_cloud_exadata_infrastructure" "cloudExadataInfr
4949
compute_count= "2"
5050
storage_count= "3"
5151
}
52+
53+
deletion_protection = "true-${local.name_suffix}"
5254
}
5355

5456
data "google_compute_network" "default" {

0 commit comments

Comments
 (0)