ibm_is_volume continually plans to set catalog_offering but does not #5512
Labels
service/Resource Management
Issues related to Resource Manager or Resource controller Issues
service/VPC Infrastructure
Issues related to the VPC Infrastructure
Community Note
Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
Terraform Configuration Files
The following simple Terraform creates a VPC block storage volume.
The problem is that the plan for this Terraform shows that it will set
catalog_offering
to a value known after apply, but after applying, it is null in theterraform.tfstate
. Next time you plan, it wants to setcatalog_offering
again. You can apply indefinitely, but the planned state is never in sync with the actual state.Steps to Reproduce
terraform.tfvars
with anibmcloud_api_key
for your account.terraform init
.terraform apply
.terraform plan
.Expected Behavior
The apply correctly creates the resources.
The subsequent plan shows no actions.
Actual Behavior
The subsequent plan shows an action:
Important Factoids
This problem appeared for me when trying to upgrade from version 1.63.0 of the provider to 1.67.1.
Also, while creating this bug report, I found it extremely slow to refresh state for the volume several times. However, at some point, the performance become more normal.
The text was updated successfully, but these errors were encountered: