Skip to content

Commit

Permalink
Skip external_vpc KMS acceptance test in VCR.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdbhacks committed Mar 27, 2024
1 parent e38672f commit 75e06c7
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,12 @@ func TestAccKmsCryptoKeyVersion_externalProtectionLevelOptions(t *testing.T) {
}

func TestAccKmsCryptoKeyVersion_externalProtectionLevelOptionsVpc(t *testing.T) {
// This test relies on manual steps to set up the EkmConnection used for the
// CryptoKeyVersion creation, which means we can't spin up a temporary project.
// We also can't use bootstrapped keys because that would defeat the purpose of
// this key creation test, so we skip this test for VCR to avoid KMS resource
// accumulation in the TF test project (since KMS resources can't be deleted).
acctest.SkipIfVcr(t)
t.Parallel()

projectId := envvar.GetTestProjectFromEnv()
Expand Down

0 comments on commit 75e06c7

Please sign in to comment.