Skip to content

Commit cc211eb

Browse files
committed
argocd provider needs quoted password
1 parent fa3fb60 commit cc211eb

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

argocd-bootstrap/data.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,14 @@ data "terraform_remote_state" "akuity_platform" {
1616
region = "us-west-2"
1717
key = "akuity-se-demo-iac/terraform.tfstate"
1818
}
19+
}
20+
21+
#debug
22+
output "argo_cd_url" {
23+
value = data.terraform_remote_state.akuity_platform.outputs.argo_server_url
24+
}
25+
26+
output "argo_cd_password" {
27+
value = data.terraform_remote_state.akuity_platform.outputs.argo_admin_password
28+
sensitive = false
1929
}

argocd-bootstrap/providers.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ provider "argocd" {
1717
# this depends on AKP creation
1818
server_addr = data.terraform_remote_state.akuity_platform.outputs.argo_server_url
1919
username = "admin"
20-
password = data.terraform_remote_state.akuity_platform.outputs.argo_admin_password
20+
password = "${data.terraform_remote_state.akuity_platform.outputs.argo_admin_password}"
2121
}
2222

2323
provider "helm" {

0 commit comments

Comments
 (0)