mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-06-29 06:42:36 +00:00
Misc minor fixes (#3207)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
8055b63431
commit
81d23bd4b6
|
@ -1 +0,0 @@
|
|||
package google
|
|
@ -16,8 +16,6 @@ func TestAccDataSourceGoogleKmsCryptoKey_basic(t *testing.T) {
|
|||
keyParts := strings.Split(kms.CryptoKey.Name, "/")
|
||||
cryptoKeyId := keyParts[len(keyParts)-1]
|
||||
|
||||
fmt.Println(testAccDataSourceGoogleKmsCryptoKey_basic(kms.KeyRing.Name, cryptoKeyId))
|
||||
|
||||
resource.Test(t, resource.TestCase{
|
||||
PreCheck: func() { testAccPreCheck(t) },
|
||||
Providers: testAccProviders,
|
||||
|
@ -30,9 +28,6 @@ func TestAccDataSourceGoogleKmsCryptoKey_basic(t *testing.T) {
|
|||
})
|
||||
}
|
||||
|
||||
/*
|
||||
This test should run in its own project, because KMS key rings and crypto keys are not deletable
|
||||
*/
|
||||
func testAccDataSourceGoogleKmsCryptoKey_basic(keyRingName, cryptoKeyName string) string {
|
||||
return fmt.Sprintf(`
|
||||
data "google_kms_crypto_key" "kms_crypto_key" {
|
||||
|
|
|
@ -27,9 +27,6 @@ func TestAccDataSourceGoogleKmsKeyRing_basic(t *testing.T) {
|
|||
})
|
||||
}
|
||||
|
||||
/*
|
||||
This test should run in its own project, because keys and key rings are not deletable
|
||||
*/
|
||||
func testAccDataSourceGoogleKmsKeyRing_basic(keyRingName string) string {
|
||||
return fmt.Sprintf(`
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user