You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there! My VM was created using instance_template and compute_instance modules both v10.1.1. Now after I have upgraded these modules version to v11.1.0 terraform plan triggers replacement of that VM. Nothing apart from module versions is changed.
Expected behavior
terraform plan must not trigger replacement of the VM
Since v11.0.0 instance_template module uses google-beta provider instead of google, thus the source_instance_template is changed. Note https://www.googleapis.com/compute/v1 is changed to https://www.googleapis.com/compute/beta.
TL;DR
Hello there! My VM was created using
instance_template
andcompute_instance
modules both v10.1.1. Now after I have upgraded these modules version to v11.1.0terraform plan
triggers replacement of that VM. Nothing apart from module versions is changed.Expected behavior
terraform plan
must not trigger replacement of the VMObserved behavior
Since v11.0.0
instance_template
module usesgoogle-beta
provider instead ofgoogle
, thus thesource_instance_template
is changed. Notehttps://www.googleapis.com/compute/v1
is changed tohttps://www.googleapis.com/compute/beta
.Terraform Configuration
Terraform Version
Additional information
If I use
instance_template
v10.1.1 andcompute_instance
v11.1.0 everything is working fine.The text was updated successfully, but these errors were encountered: