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

OKE - Not able to update defined tags for node_config_details

Open luddevik opened this issue 8 months ago • 2 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 "me too" comments, 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 Version and Provider Version

Terraform v1.7.2
provider registry.terraform.io/oracle/oci v5.46.0

Affected Resource(s)

affected_resources = oci_containerengine_node_pool, node_config_details, defined_tags

Terraform Configuration Files

resource "oci_containerengine_node_pool" "this" {
  node_config_details {
    defined_tags = {
      "system"    = "test"
    }
}

Expected Behavior

Updating existing node tags in OCI console of the node in a node_pool of a OKE cluster.

Actual Behavior

After terraform apply, the output shows Apply complete! The Node pool goes into updating state, and then Active. But no changes were made. TF state and OCI console still shows the old defined_tags that were applied initially.
defined_tags are also set for node_pool/cluster. Tags are updated as expected on these two resources.

Steps to Reproduce

  1. terraform apply with new updated tags in node_config_details

luddevik avatar Jun 20 '24 06:06 luddevik