Skip to content

Commit

Permalink
Moving the netapp kmsconfig resource update test to a different regio…
Browse files Browse the repository at this point in the history
…n to avoid conflict with create test (GoogleCloudPlatform#10185)
  • Loading branch information
roop2 authored and pengq-google committed May 21, 2024
1 parent f80fc49 commit b986b2b
Showing 1 changed file with 4 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

// ----------------------------------------------------------------------------
//
// *** AUTO GENERATED CODE *** Type: MMv1 ***
//
// ----------------------------------------------------------------------------
//
// This file is automatically generated by Magic Modules and manual
// changes will be clobbered when the file is regenerated.
//
// Please read more about how to change this file in
// .github/CONTRIBUTING.md.
//
// ----------------------------------------------------------------------------

package netapp_test

import (
Expand Down Expand Up @@ -63,7 +49,7 @@ func testAccNetappkmsconfig_kmsConfigCreateExample_Full(context map[string]inter
return acctest.Nprintf(`
resource "google_kms_key_ring" "keyring" {
name = "tf-test-key-ring%{random_suffix}"
location = "us-central1"
location = "us-east4"
}
resource "google_kms_crypto_key" "crypto_key" {
Expand All @@ -75,7 +61,7 @@ func testAccNetappkmsconfig_kmsConfigCreateExample_Full(context map[string]inter
name = "tf-test-kms-test%{random_suffix}"
description="this is a test description"
crypto_key_name=google_kms_crypto_key.crypto_key.id
location="us-central1"
location="us-east4"
}
`, context)
}
Expand All @@ -84,7 +70,7 @@ func testAccNetappkmsconfig_kmsConfigCreateExample_Update(context map[string]int
return acctest.Nprintf(`
resource "google_kms_key_ring" "keyring" {
name = "tf-test-key-ring%{random_suffix}"
location = "us-central1"
location = "us-east4"
}
resource "google_kms_crypto_key" "crypto_key" {
Expand All @@ -96,7 +82,7 @@ func testAccNetappkmsconfig_kmsConfigCreateExample_Update(context map[string]int
name = "tf-test-kms-test%{random_suffix}"
description="kmsconfig update"
crypto_key_name=google_kms_crypto_key.crypto_key.id
location="us-central1"
location="us-east4"
labels = {
"foo": "bar",
}
Expand Down

0 comments on commit b986b2b

Please sign in to comment.