You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there tags added to digitalocean_kubernetes_cluster resources, they are reconciled everytime. I suspected is because when the clusters are created, digitalocean attaches additional tags (k8s:worker, k8s:******) to the node pool. And it's different than what's specified in terraform resources, so it tries to update the tags every time
Affected Resource(s)
digitalocean_kubernetes_cluster
Expected Behavior
not updating digitalocean_kubernetes_cluster everytime applies
Actual Behavior
digitalocean_kubernetes_cluster is updating every time (tags)
Steps to Reproduce
provision a digitalocean_kubernetes_cluster resource with tags
Thanks for reporting this issue. I have not been able to reproduce it. Would you be able to provide share your Terraform configuration or a sample that can demonstrate the problem?
I think some extra tags are added automatically. Did you include something like this? (May interfere with the desire to be able to change those tags through Terraform.)
lifecycle {
# Ignore the tags/labels added by DigitalOceanignore_changes=[
tags, node_pool["labels"], node_pool["tags"]
]
}
Bug Report
Describe the bug
When there tags added to digitalocean_kubernetes_cluster resources, they are reconciled everytime. I suspected is because when the clusters are created, digitalocean attaches additional tags (k8s:worker, k8s:******) to the node pool. And it's different than what's specified in terraform resources, so it tries to update the tags every time
Affected Resource(s)
Expected Behavior
not updating digitalocean_kubernetes_cluster everytime applies
Actual Behavior
digitalocean_kubernetes_cluster is updating every time (tags)
Steps to Reproduce
provision a
digitalocean_kubernetes_cluster
resource with tagsTerraform Configuration Files
Terraform version
Terraform v1.9.7
on linux_amd64
Debug Output
Panic Output
Additional context
Important Factoids
References
The text was updated successfully, but these errors were encountered: