Skip to content

Commit 7d07a58

Browse files
committed
set version to 3
1 parent e45c25f commit 7d07a58

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

mmv1/third_party/terraform/services/kms/data_source_google_kms_crypto_key_version_latest_test.go

+1-5
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func TestAccDataSourceGoogleKmsCryptoKeyVersionLatest_basic(t *testing.T) {
1919
Steps: []resource.TestStep{
2020
{
2121
Config: testAccDataSourceGoogleKmsCryptoKeyVersionLatest_basic(asymSignKey.CryptoKey.Name),
22-
Check: resource.TestCheckResourceAttr("data.google_kms_crypto_key_version_latest.version_latest", "version", "2"),
22+
Check: resource.TestCheckResourceAttr("data.google_kms_crypto_key_version_latest.version_latest", "version", "3"),
2323
},
2424
// Asymmetric keys should have a public key
2525
{
@@ -41,10 +41,6 @@ func TestAccDataSourceGoogleKmsCryptoKeyVersionLatest_basic(t *testing.T) {
4141

4242
func testAccDataSourceGoogleKmsCryptoKeyVersionLatest_basic(kmsKey string) string {
4343
return fmt.Sprintf(`
44-
resource "google_kms_crypto_key_version" "version" {
45-
crypto_key = "%s"
46-
}
47-
4844
data "google_kms_crypto_key_version_latest" "version_latest" {
4945
crypto_key = "%s"
5046
}

0 commit comments

Comments
 (0)