-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
private_endpoint_label
unique per test run of `TestAccOracleDa…
…tabaseAutonomousDatabase_oracledatabaseAutonomousDatabaseFullExample` (#12523) [upstream:1faadb6e2dcb325c1724ef14090df9c69bd3360f] Signed-off-by: Modular Magician <[email protected]>
- Loading branch information
1 parent
d408dc5
commit 5de8bc6
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:none | ||
|
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 = "[email protected]" | ||
} | ||
private_endpoint_ip = "10.5.0.11" | ||
private_endpoint_label = "testhost" | ||
private_endpoint_label = "%{endpoint_name}" | ||
} | ||
deletion_protection = "%{deletion_protection}" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
} | ||
|