-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh or plan update #379
Comments
Hi @DrummyFloyd, What does the configuration of the provider itself ( |
oh sh*t i forgot to share the best part >< no only Env Var set is the provider "argocd" {
port_forward_with_namespace = "argocd"
username = "admin"
password = module.install-argocd.argocd_credentials_admin
kubernetes {
host = module.kubernetes.host
client_certificate = module.kubernetes.client_certificate
client_key = module.kubernetes.client_key
cluster_ca_certificate = module.kubernetes.cluster_ca_certificate
}
}
|
The only thing I can think of is that |
i think it's that, but it shoudn't not happnd because the first time i run this evertything is going well , because the |
@DrummyFloyd Did you manage to find a workaround/fix for this in the end? I'm hitting the exact same issue |
it's a workaround ... bit annoyong tho' but i delete the state part of my module .. don't have time to figure it out why atm =/ |
An engineer on our team discovered a "work around"
I sincerely believe this should be considered a bug. |
looks like the env var overrides the provider so there is no need to comment out the password line I think it just simply shows that the password changes, the state file has the old password and doesn't get a chance to run the data object to refresh before the provider bombs out |
Just for anyone else trying this, the env variable would need to be set on the machine that is running terraform apply. Not the argo container. |
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. |
Hi,
maybe the configuration is wrong, but when i install/config everything the first time everything worked as expected
buyt when i want to make some change on my TF
the provider asked me some weird stuff
Terraform Version, ArgoCD Provider Version and ArgoCD Version
Terraform configuration
Question
Wondering ,why the first time everything went good
then on second and next plan/apply
argocd provider asked me some `username/password stuff
The text was updated successfully, but these errors were encountered: