Skip to content

Commit

Permalink
add deletion_protection for autonomousDatabase resource (#12298) (#864)
Browse files Browse the repository at this point in the history
[upstream:6eb3aa904157f7fe8e11671c669f2b6f5a355c18]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Nov 26, 2024
1 parent c4b8550 commit 70c18ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions oracledatabase_autonomous_database_basic/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ resource "google_oracle_database_autonomous_database" "myADB"{
db_workload = "OLTP"
license_type = "LICENSE_INCLUDED"
}
deletion_protection = "true-${local.name_suffix}"
}

data "google_compute_network" "default" {
Expand Down
1 change: 1 addition & 0 deletions oracledatabase_autonomous_database_full/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ resource "google_oracle_database_autonomous_database" "myADB"{
private_endpoint_ip = "10.5.0.11"
private_endpoint_label = "testhost"
}
deletion_protection = "true-${local.name_suffix}"
}

data "google_compute_network" "default" {
Expand Down

0 comments on commit 70c18ed

Please sign in to comment.