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

ibm_pi_image change in pi_image_id does not taint the resource

Open powellquiring opened this issue 1 year ago • 0 comments

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

OpenTofu v1.6.0
on darwin_arm64
+ provider registry.opentofu.org/hashicorp/time v0.10.0
+ provider registry.opentofu.org/ibm-cloud/ibm v1.61.0

Affected Resource(s)

  • ibm_pi_image

Terraform Configuration Files

resource "ibm_pi_image" "testacc_image" {
  pi_image_name        = local.image_name
  pi_cloud_instance_id = local.var_power.guid
  #pi_image_id          = "4adda2e3-1603-430d-9502-907b4a2d0ba7"
  pi_image_id = "e00178e1-f763-41b7-adb0-b5da0edde4c9"
}

Expected Behavior

Changing the pi_image_id should cause the ibm_pi_image resource to be tainted: the resource should be destroyed and then added.

Actual Behavior

No changes

powellquiring avatar Jan 16 '24 20:01 powellquiring