From 5de8bc6ed74cfa5fa37d541317e358185866e1cb Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Wed, 11 Dec 2024 10:00:57 +0000 Subject: [PATCH] Make `private_endpoint_label` unique per test run of `TestAccOracleDatabaseAutonomousDatabase_oracledatabaseAutonomousDatabaseFullExample` (#12523) [upstream:1faadb6e2dcb325c1724ef14090df9c69bd3360f] Signed-off-by: Modular Magician --- .changelog/12523.txt | 3 +++ ...ource_oracle_database_autonomous_database_generated_test.go | 3 ++- .../docs/r/oracle_database_autonomous_database.html.markdown | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .changelog/12523.txt diff --git a/.changelog/12523.txt b/.changelog/12523.txt new file mode 100644 index 0000000000..42b910df15 --- /dev/null +++ b/.changelog/12523.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` \ No newline at end of file diff --git a/google-beta/services/oracledatabase/resource_oracle_database_autonomous_database_generated_test.go b/google-beta/services/oracledatabase/resource_oracle_database_autonomous_database_generated_test.go index afd7a0e592..82b7e746ef 100644 --- a/google-beta/services/oracledatabase/resource_oracle_database_autonomous_database_generated_test.go +++ b/google-beta/services/oracledatabase/resource_oracle_database_autonomous_database_generated_test.go @@ -91,6 +91,7 @@ func TestAccOracleDatabaseAutonomousDatabase_oracledatabaseAutonomousDatabaseFul context := map[string]interface{}{ "database_name": fmt.Sprintf("tftestdatabase%s", acctest.RandString(t, 10)), "deletion_protection": false, + "endpoint_name": fmt.Sprintf("tftestendpoint%s", acctest.RandString(t, 10)), "project": "oci-terraform-testing", "random_suffix": acctest.RandString(t, 10), } @@ -146,7 +147,7 @@ resource "google_oracle_database_autonomous_database" "myADB"{ email = "xyz@example.com" } private_endpoint_ip = "10.5.0.11" - private_endpoint_label = "testhost" + private_endpoint_label = "%{endpoint_name}" } deletion_protection = "%{deletion_protection}" } diff --git a/website/docs/r/oracle_database_autonomous_database.html.markdown b/website/docs/r/oracle_database_autonomous_database.html.markdown index a5570faa11..0ba16d55ac 100644 --- a/website/docs/r/oracle_database_autonomous_database.html.markdown +++ b/website/docs/r/oracle_database_autonomous_database.html.markdown @@ -100,7 +100,7 @@ resource "google_oracle_database_autonomous_database" "myADB"{ email = "xyz@example.com" } private_endpoint_ip = "10.5.0.11" - private_endpoint_label = "testhost" + private_endpoint_label = "myendpoint" } deletion_protection = "true" }