diff --git a/.changelog/6404.txt b/.changelog/6404.txt new file mode 100644 index 00000000000..d1d46646007 --- /dev/null +++ b/.changelog/6404.txt @@ -0,0 +1,3 @@ +```release-note:bug +compute: Fixed permadiff for `instance_termination_action` in `google_compute_instance_template` +``` diff --git a/google/resource_compute_instance_template.go b/google/resource_compute_instance_template.go index 4e9feaf467c..cf6bf6825ee 100644 --- a/google/resource_compute_instance_template.go +++ b/google/resource_compute_instance_template.go @@ -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.`, },