argoproj-labs / terraform-provider-argocd

Terraform provider for Argo CD
Mozilla Public License 2.0
426 stars 89 forks source link

Can argocd_application labels be modified? #398

Open ionPr opened 5 months ago

ionPr commented 5 months ago

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
ionPr commented 5 months ago

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

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mkilchhofer commented 1 month ago

Hi @ionPr

Could you share an example TF code of your application definition?