Skip to content
This repository was archived by the owner on Sep 22, 2023. It is now read-only.

Commit ba51b4c

Browse files
committed
make config top level
Signed-off-by: Carlos Santana <[email protected]>
1 parent 048b421 commit ba51b4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ locals {
1919
}
2020

2121
locals {
22-
argocd_server_config = <<-EOT
22+
config = <<-EOT
2323
{
2424
"tlsClientConfig": {
2525
"insecure": false
@@ -38,7 +38,7 @@ locals {
3838
stringData = {
3939
name = var.cluster_name
4040
server = try(var.argocd.server, "https://kubernetes.default.svc")
41-
config = try(var.argocd.argocd_server_config, local.argocd_server_config)
41+
config = try(var.argocd.config, local.config)
4242
}
4343
}
4444
}

0 commit comments

Comments
 (0)