Skip to content

Commit 6ced89d

Browse files
Updating update test for entry group. (#10756) (#7399)
[upstream:430f650871753e70486f7b43a1d028b1cce91276] Signed-off-by: Modular Magician <[email protected]>
1 parent 7a90a0f commit 6ced89d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

google-beta/services/dataplex/resource_dataplex_entry_group_test.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func TestAccDataplexEntryGroup_update(t *testing.T) {
2828
Config: testAccDataplexEntryGroup_full(context),
2929
},
3030
{
31-
ResourceName: "google_dataplex_entry_group.test_entry_group_full",
31+
ResourceName: "google_dataplex_entry_group.test_entry_group",
3232
ImportState: true,
3333
ImportStateVerify: true,
3434
ImportStateVerifyIgnore: []string{"location", "entry_group_id", "labels", "terraform_labels"},
@@ -37,7 +37,7 @@ func TestAccDataplexEntryGroup_update(t *testing.T) {
3737
Config: testAccDataplexEntryGroup_update(context),
3838
},
3939
{
40-
ResourceName: "google_dataplex_entry_group.test_entry_group_basic",
40+
ResourceName: "google_dataplex_entry_group.test_entry_group",
4141
ImportState: true,
4242
ImportStateVerify: true,
4343
ImportStateVerifyIgnore: []string{"location", "entry_group_id", "labels", "terraform_labels"},
@@ -48,24 +48,24 @@ func TestAccDataplexEntryGroup_update(t *testing.T) {
4848

4949
func testAccDataplexEntryGroup_full(context map[string]interface{}) string {
5050
return acctest.Nprintf(`
51-
resource "google_dataplex_entry_group" "test_entry_group_full" {
52-
entry_group_id = "tf-test-entry-group-full%{random_suffix}"
51+
resource "google_dataplex_entry_group" "test_entry_group" {
52+
entry_group_id = "tf-test-entry-group%{random_suffix}"
5353
project = "%{project_name}"
5454
location = "us-central1"
55-
56-
labels = { "tag": "test-tf" }
57-
display_name = "terraform entry group"
58-
description = "entry group created by Terraform"
5955
}
6056
`, context)
6157
}
6258

6359
func testAccDataplexEntryGroup_update(context map[string]interface{}) string {
6460
return acctest.Nprintf(`
65-
resource "google_dataplex_entry_group" "test_entry_group_basic" {
66-
entry_group_id = "tf-test-entry-group-basic%{random_suffix}"
61+
resource "google_dataplex_entry_group" "test_entry_group" {
62+
entry_group_id = "tf-test-entry-group%{random_suffix}"
6763
project = "%{project_name}"
6864
location = "us-central1"
65+
66+
labels = { "tag": "test-tf" }
67+
display_name = "terraform entry group"
68+
description = "entry group created by Terraform"
6969
}
7070
`, context)
7171
}

0 commit comments

Comments
 (0)