terraform-provider-argocd
terraform-provider-argocd copied to clipboard
Provider use argocd cli login?
Is it possible for the terraform provider to use the login details of the current user as logged in via the argocd cli? So if I login to argocd cli as my account, then that same authentication can be used for the terraform provider?
Yes, with https://registry.terraform.io/providers/oboukili/argocd/latest/docs#use_local_config
provider "argocd" {
server_addr = "argocd.local:443"
use_local_config = true
context = "argocd.prod" <--- optional, but useful if you have multiple contexts
}