argoproj-labs/terraform-provider-argocd

Can argocd_application labels be modified?

ionPr opened this issue · 2 comments

Question

Hello,

I have deployed a set of argocd_applications and have already set some metadata.labels on them. I am currently trying to use the same code to update the labels but the changes are not picked up. If I delete the existing application and deploy it again the correct new labels are applied.
My question is, is this the expected behavior? I was not able to find any error or significant message in any of the ArgoCD pods.

Thank you!

Terraform Version, ArgoCD Provider Version and ArgoCD Version

Terraform version: v1.7.3. v1.8.5
ArgoCD provider version: 6.0.3, 6.1.1
ArgoCD version: 2.9.5. 2.11.0

Forgot to mention that the labels are simple strings that do not contain any special characters.