Changing operating_system
on existing cluster does not trigger a destroy and create
#5501
Labels
service/Kubernetes Service
Issues related to Kubernetes Service Issues
Changing the value of
operating_system
on existing cluster that was created usingibm_container_vpc_cluster
does not trigger a destroy and create of the cluster. This is not consistent with the terraform common practices - it should attempt to destroy and recreate. It is up to the user of the provider to decide on the behavior, rather than the provider itself. https://developer.hashicorp.com/terraform/language/meta-arguments/lifecycle#ignore_changes change field exists for this reason.Community Note
Terraform CLI and Terraform IBM Provider Version
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.
Debug Output
Panic Output
Expected Behavior
Cluster should destroy and create if the value of
operating_system
is changedActual Behavior
No changes identified
Steps to Reproduce
terraform apply
withoperating_system
value set toREDHAT_8_64
terraform apply
withoperating_system
value now set toRHCOS
Important Factoids
References
The text was updated successfully, but these errors were encountered: