Closed lra closed 2 years ago
We have identified the issue and are working on it. as a workaround please use the below lifecycle argument
lifecycle { ignore_changes = [
# Ignore changes to default_trusted_profile_auto_link, e.g. to avoid force_new
default_trusted_profile_auto_link, ] }
}
same issue here... we were not careful enough which caused vsi recreation :(
Community Note
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
ibm_is_instance
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Expected Behavior
Under
ibm-cloud/ibm v1.38.2
, we get a clean terraform plan. When we upgrade toibm-cloud/ibm v1.39.0
, we should also have a clean terraform plan.Actual Behavior
The IBM provider v1.39 wants to recreate our
ibm_is_instance
instances:The important part is:
+ default_trusted_profile_auto_link = true # forces replacement
default_trusted_profile_auto_link
to true, it wants to recreate the instance.default_trusted_profile_auto_link
to false, it compaints the following error:"default_trusted_profile_auto_link": all of
default_trusted_profile_auto_link,default_trusted_profile_targetmust be specified
.Steps to Reproduce
ibm_is_instance
resource withibm-cloud/ibm v1.38.2
without settingdefault_trusted_profile_auto_link
.ibm-cloud/ibm v1.39.0