Skip to content

Commit

Permalink
GCP compute instance template fields are ForceNew (#6404) (#12309)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <magic-modules@google.com>

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Aug 15, 2022
1 parent b14a32d commit f45a823
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/6404.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
compute: Fixed permadiff for `instance_termination_action` in `google_compute_instance_template`
```
1 change: 1 addition & 0 deletions google/resource_compute_instance_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,7 @@ func resourceComputeInstanceTemplate() *schema.Resource {
"instance_termination_action": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
AtLeastOneOf: schedulingInstTemplateKeys,
Description: `Specifies the action GCE should take when SPOT VM is preempted.`,
},
Expand Down

0 comments on commit f45a823

Please sign in to comment.