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 (#10185) (#17603)

[upstream:77816ee766a56cf2b09c332b9b9fbc3bd6d50cea]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Mar 15, 2024
1 parent 9e0c2d1 commit f3f8ef1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
3 changes: 3 additions & 0 deletions .changelog/10185.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
22 changes: 4 additions & 18 deletions google/services/netapp/resource_netapp_kmsconfig_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,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 @@ -65,7 +51,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 @@ -77,7 +63,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 @@ -86,7 +72,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 @@ -98,7 +84,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 f3f8ef1

Please sign in to comment.