terraform-provider-ibm icon indicating copy to clipboard operation
terraform-provider-ibm copied to clipboard

Apply twice keeps on showing changes for volume resource

Open Aashiq-J opened this issue 1 year ago • 4 comments
trafficstars

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform CLI and Terraform IBM Provider Version

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

Affected Resource(s)

  • ibm_is_volume

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

  • similar to https://github.com/IBM-Cloud/terraform-provider-ibm/issues/4719

Aashiq-J avatar Jul 24 '24 14:07 Aashiq-J

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.

maheshwarishikha avatar Jul 25 '24 06:07 maheshwarishikha

looking at it

uibm avatar Jul 25 '24 08:07 uibm

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

uibm avatar Jul 29 '24 05:07 uibm

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

deepaksibm avatar Jul 29 '24 14:07 deepaksibm