Skip to content

Commit c23583e

Browse files
Resolving test failure: adding the pre-update scope in the updated sc… (#12252) (#8635)
[upstream:e4f5b0e092d8cb402a699d95e7d737608715dcde] Signed-off-by: Modular Magician <[email protected]>
1 parent 3069ab6 commit c23583e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changelog/12252.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
gkehub: fixed failures for TestAccGKEHub2MembershipBinding_gkehubMembershipBindingBasicExample
3+
```

google-beta/services/gkehub2/resource_gke_hub_membership_binding_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ resource "google_gke_hub_membership" "example" {
116116
depends_on = [google_container_cluster.primary]
117117
}
118118
119+
resource "google_gke_hub_scope" "example" {
120+
scope_id = "tf-test-scope%{random_suffix}"
121+
}
122+
119123
resource "google_gke_hub_scope" "example2" {
120124
scope_id = "tf-test-scope2%{random_suffix}"
121125
}

0 commit comments

Comments
 (0)