Skip to content

Commit

Permalink
Fix resource name used in CloudBuildBitbucketServerConfig tests (#8062)…
Browse files Browse the repository at this point in the history
… (#14785)

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Jun 1, 2023
1 parent 9efb240 commit 9e886dc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .changelog/8062.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 @@ -58,7 +58,7 @@ func TestAccCloudBuildBitbucketServerConfig_cloudbuildBitbucketServerConfigExamp
func testAccCloudBuildBitbucketServerConfig_cloudbuildBitbucketServerConfigExample(context map[string]interface{}) string {
return Nprintf(`
resource "google_cloudbuild_bitbucket_server_config" "bbs-config" {
config_id = "mybbsconfig"
config_id = "tf-test-bbs-config%{random_suffix}"
location = "us-central1"
host_uri = "https://bbs.com"
secrets {
Expand Down Expand Up @@ -128,7 +128,7 @@ resource "google_service_networking_connection" "default" {
}
resource "google_cloudbuild_bitbucket_server_config" "bbs-config-with-peered-network" {
config_id = "mybbsconfig"
config_id = "tf-test-bbs-config%{random_suffix}"
location = "us-central1"
host_uri = "https://bbs.com"
secrets {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ To get more information about BitbucketServerConfig, see:

```hcl
resource "google_cloudbuild_bitbucket_server_config" "bbs-config" {
config_id = "mybbsconfig"
config_id = "bbs-config"
location = "us-central1"
host_uri = "https://bbs.com"
secrets {
Expand All @@ -55,7 +55,7 @@ resource "google_cloudbuild_bitbucket_server_config" "bbs-config" {

```hcl
resource "google_cloudbuild_bitbucket_server_config" "bbs-config-with-repos" {
config_id = "mybbsconfig"
config_id = "bbs-config"
location = "us-central1"
host_uri = "https://bbs.com"
secrets {
Expand Down Expand Up @@ -113,7 +113,7 @@ resource "google_service_networking_connection" "default" {
}
resource "google_cloudbuild_bitbucket_server_config" "bbs-config-with-peered-network" {
config_id = "mybbsconfig"
config_id = "bbs-config"
location = "us-central1"
host_uri = "https://bbs.com"
secrets {
Expand Down

0 comments on commit 9e886dc

Please sign in to comment.