Skip to content

Commit

Permalink
Make private_endpoint_label unique per test run of `TestAccOracleDa…
Browse files Browse the repository at this point in the history
…tabaseAutonomousDatabase_oracledatabaseAutonomousDatabaseFullExample` (#12523) (#8890)

[upstream:1faadb6e2dcb325c1724ef14090df9c69bd3360f]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Dec 11, 2024
1 parent d408dc5 commit 4e75155
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/12523.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}
Expand Down Expand Up @@ -146,7 +147,7 @@ resource "google_oracle_database_autonomous_database" "myADB"{
email = "[email protected]"
}
private_endpoint_ip = "10.5.0.11"
private_endpoint_label = "testhost"
private_endpoint_label = "%{endpoint_name}"
}
deletion_protection = "%{deletion_protection}"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ resource "google_oracle_database_autonomous_database" "myADB"{
email = "[email protected]"
}
private_endpoint_ip = "10.5.0.11"
private_endpoint_label = "testhost"
private_endpoint_label = "myendpoint"
}
deletion_protection = "true"
}
Expand Down

0 comments on commit 4e75155

Please sign in to comment.