Skip to content

Commit 70c18ed

Browse files
add deletion_protection for autonomousDatabase resource (#12298) (#864)
[upstream:6eb3aa904157f7fe8e11671c669f2b6f5a355c18] Signed-off-by: Modular Magician <[email protected]>
1 parent c4b8550 commit 70c18ed

File tree

2 files changed

+2
-0
lines changed
  • oracledatabase_autonomous_database_basic
  • oracledatabase_autonomous_database_full

2 files changed

+2
-0
lines changed

oracledatabase_autonomous_database_basic/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ resource "google_oracle_database_autonomous_database" "myADB"{
1313
db_workload = "OLTP"
1414
license_type = "LICENSE_INCLUDED"
1515
}
16+
deletion_protection = "true-${local.name_suffix}"
1617
}
1718

1819
data "google_compute_network" "default" {

oracledatabase_autonomous_database_full/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ resource "google_oracle_database_autonomous_database" "myADB"{
3131
private_endpoint_ip = "10.5.0.11"
3232
private_endpoint_label = "testhost"
3333
}
34+
deletion_protection = "true-${local.name_suffix}"
3435
}
3536

3637
data "google_compute_network" "default" {

0 commit comments

Comments
 (0)