Skip to content

Commit 2408d4c

Browse files
fixed update on parent (#4712) (#3179)
* fixed update on parent * removed the added test Signed-off-by: Modular Magician <[email protected]>
1 parent e1b24db commit 2408d4c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changelog/4712.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
```release-note:breaking-change
2+
datacatalog: updating `parent` in `google_data_catalog_tag` will now recreate the resource
3+
```
4+
```release-note:bug
5+
datacatalog: fixed an issue where `parent` in `google_data_catalog_tag` attempted to update the resource when change instead of recreating it
6+
```

google-beta/resource_data_catalog_tag.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ For attaching a tag to a nested column, use '.' to separate the column names. Ex
116116
"parent": {
117117
Type: schema.TypeString,
118118
Optional: true,
119+
ForceNew: true,
119120
Description: `The name of the parent this tag is attached to. This can be the name of an entry or an entry group. If an entry group, the tag will be attached to
120121
all entries in that group.`,
121122
},

0 commit comments

Comments
 (0)