Skip to content

Commit

Permalink
GCP compute instance template fields are ForceNew (#6404) (#4590)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Aug 15, 2022
1 parent 603713e commit bdda77d
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-beta/resource_compute_instance_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,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 bdda77d

Please sign in to comment.