IBM-Cloud / terraform-provider-ibm

https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs
Mozilla Public License 2.0
341 stars 670 forks source link

Apply twice keeps on showing changes for volume resource #5527

Open Aashiq-J opened 3 months ago

Aashiq-J commented 3 months ago

Community Note

Terraform CLI and Terraform IBM Provider Version

ibm-cloud/ibm v1.67.1 Terraform v1.5.7

Affected Resource(s)

Terraform Configuration Files

Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.

https://github.com/terraform-ibm-modules/terraform-ibm-landing-zone-vsi/tree/main/examples/complete Run this example, once deployed run terraform plan again.

Debug Output

Panic Output

Screenshot 2024-07-24 at 1 27 25 PM

Expected Behavior

No changes during subsequent plan

Actual Behavior

It shows update-in-place

Steps to Reproduce

  1. terraform apply
  2. terraform plan

Important Factoids

References

maheshwarishikha commented 3 months ago

catalog_offering is a new attribute added in Provider 1.67 version onwards, hence this error. The same code is working fine with older versions.

ujjwal-ibm commented 3 months ago

looking at it

ujjwal-ibm commented 3 months ago

This has been fixed #5514 and is available as part of https://github.com/IBM-Cloud/terraform-provider-ibm/releases/tag/v1.68.0-beta0

deepaksibm commented 3 months ago

@sumitkumartiwari This can be closed as it is fixed as part of the other issue.