diff --git a/.changelog/5698.txt b/.changelog/5698.txt new file mode 100644 index 0000000000..78c97687ea --- /dev/null +++ b/.changelog/5698.txt @@ -0,0 +1,3 @@ +```release-note:bug +compute: fixed permadiff in `google_compute_instance.scheduling.provisioning_model` +``` diff --git a/google-beta/resource_compute_instance.go b/google-beta/resource_compute_instance.go index f864be9ec6..e6c60dbbae 100644 --- a/google-beta/resource_compute_instance.go +++ b/google-beta/resource_compute_instance.go @@ -624,6 +624,7 @@ func resourceComputeInstance() *schema.Resource { "provisioning_model": { Type: schema.TypeString, Optional: true, + Computed: true, ForceNew: true, AtLeastOneOf: schedulingKeys, Description: `Whether the instance is spot. If this is set as SPOT.`,