Misc minor fixes (#3207)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-03-08 16:52:04 -08:00 committed by Chris Stephens
parent 8055b63431
commit 81d23bd4b6
3 changed files with 0 additions and 9 deletions

View File

@ -1 +0,0 @@
package google

View File

@ -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" {

View File

@ -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(`