Terraform ArgoCD provider

From wikieduonline
Jump to navigation Jump to search

Resources[edit]

argocd_application
argocd_application_set
argocd_project
argocd_account_token 
argocd_cluster
argocd_gpg_key
argocd_project_token
argocd_repository
argocd_repository_certificate
argocd_repository_credentials

Provider configuration[edit]

terraform {
 required_providers {
   argocd = {
     source = "argoproj-labs/argocd"
     version = "7.5.2"
   }
 }
}

provider "argocd" {
 server_addr = "argocd.local:443"
 auth_token  = "1234..."
 insecure    = true           # Ignores TLS errors
}


provider "argocd" {
 server_addr = "argocd.local:443"
 username    = "foo"
 password    = local.password
}
provider "argocd" {
  server_addr = "https://argocd.test.internal/"
  auth_token  = "not-valid-token-but-needed-when-argocd-configured-without-pass"
}

Activities[edit]

Related[edit]

Errors[edit]

See also[edit]

Advertising: