Skip to content

Commit 9c2e426

Browse files
tonyzhcniharika-98
authored andcommitted
Fix missing bootstrap IAM for GKE SA to create CPA clusters. (GoogleCloudPlatform#12962)
1 parent 9851d52 commit 9c2e426

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mmv1/third_party/terraform/services/container/resource_container_cluster_test.go.tmpl

+4
Original file line numberDiff line numberDiff line change
@@ -5633,6 +5633,10 @@ func TestAccContainerCluster_WithCPAFeatures(t *testing.T) {
56335633
Member: "serviceAccount:service-{project_number}@container-engine-robot.iam.gserviceaccount.com",
56345634
Role: "roles/cloudkms.cryptoKeyEncrypterDecrypter",
56355635
},
5636+
{
5637+
Member: "serviceAccount:service-{project_number}@container-engine-robot.iam.gserviceaccount.com",
5638+
Role: "roles/cloudkms.cryptoKeyEncrypterDecrypterViaDelegation",
5639+
},
56365640
})
56375641

56385642
// Find an active cryptoKeyVersion on the signing key.

0 commit comments

Comments
 (0)