We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bae40a4 commit aff5b07Copy full SHA for aff5b07
modules/external-secrets/main.tf
@@ -15,9 +15,11 @@ metadata:
15
argocd.argoproj.io/sync-wave: "0"
16
spec:
17
project: default
18
+ %{if var.auto_deploy}
19
syncPolicy:
20
automated:
- prune: true
21
+ prune: ${var.auto_prune}
22
+ %{endif}
23
sources:
24
- repoURL: 'https://charts.external-secrets.io'
25
chart: external-secrets
@@ -33,12 +35,4 @@ spec:
33
35
server: 'https://kubernetes.default.svc'
34
36
namespace: external-secrets
37
YAML
-}
-
38
-resource "local_file" "eso_values" {
39
- content = templatefile(
40
- "${path.module}/templates/values.yaml.tmpl",
41
- { account_id = data.aws_caller_identity.current.account_id }
42
- )
43
- filename = "${path.module}/templates/values.yaml"
44
+}
0 commit comments