Skip to content

Commit 03ddd08

Browse files
fix forceNew on resource_manager_tags (#9963) (#6958)
[upstream:163a89705e39cfe41290f7ad2bb260a33d90c2b3] Signed-off-by: Modular Magician <[email protected]>
1 parent 8dd729f commit 03ddd08

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.changelog/9963.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
compute: fixed doing nothing when `resource_manager_tags` is changed on `google_compute_instance_template` and `google_compute_region_instance_template`
3+
```

google-beta/services/compute/resource_compute_instance_template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ Google Cloud KMS.`,
618618
"resource_manager_tags": {
619619
Type: schema.TypeMap,
620620
Optional: true,
621-
ForceNew: false,
621+
ForceNew: true,
622622
Elem: &schema.Schema{Type: schema.TypeString},
623623
Set: schema.HashString,
624624
Description: `A map of resource manager tags.

google-beta/services/compute/resource_compute_region_instance_template.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ Google Cloud KMS.`,
584584
"resource_manager_tags": {
585585
Type: schema.TypeMap,
586586
Optional: true,
587-
ForceNew: false,
587+
ForceNew: true,
588588
Elem: &schema.Schema{Type: schema.TypeString},
589589
Set: schema.HashString,
590590
Description: `A map of resource manager tags.

0 commit comments

Comments
 (0)