Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing name field on google_compute_disk for TestAccComputeInstanceTemplate_sourceSnapshotEncryptionKey to include randomly generated string #7392

Merged
merged 5 commits into from
Mar 14, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixed swapping of values within new context
  • Loading branch information
NA2047 committed Mar 13, 2023
commit 0503dfb59d40975db32384326017b655e0c627cd
Original file line number Diff line number Diff line change
Expand Up @@ -1207,8 +1207,8 @@ func TestAccComputeInstanceTemplate_sourceSnapshotEncryptionKey(t *testing.T) {
kmsKey := BootstrapKMSKeyInLocation(t, "us-central1")

context := map[string]interface{}{
"kms_ring_name": GetResourceNameFromSelfLink(kmsKey.CryptoKey.Name),
"kms_key_name": GetResourceNameFromSelfLink(kmsKey.KeyRing.Name),
"kms_ring_name": GetResourceNameFromSelfLink(kmsKey.KeyRing.Name),
"kms_key_name": GetResourceNameFromSelfLink(kmsKey.CryptoKey.Name),
"random_suffix": RandString(t, 10),
}

Expand Down Expand Up @@ -1242,8 +1242,8 @@ func TestAccComputeInstanceTemplate_sourceImageEncryptionKey(t *testing.T) {
kmsKey := BootstrapKMSKeyInLocation(t, "us-central1")

context := map[string]interface{}{
"kms_ring_name": GetResourceNameFromSelfLink(kmsKey.CryptoKey.Name),
"kms_key_name": GetResourceNameFromSelfLink(kmsKey.KeyRing.Name),
"kms_ring_name": GetResourceNameFromSelfLink(kmsKey.KeyRing.Name),
"kms_key_name": GetResourceNameFromSelfLink(kmsKey.CryptoKey.Name),
"random_suffix": RandString(t, 10),
}

Expand Down