Skip to content

Commit 28d0771

Browse files
committed
fix
1 parent cddf677 commit 28d0771

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

main.tf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,6 @@ resource "helm_release" "cloud_monitoring_agent" {
203203
"ebpf":
204204
"enabled": ${var.enable_universal_ebpf}
205205
"kind": "universal_ebpf"
206-
"prometheus":
207-
"file": ${var.prometheus.file}
208-
"yaml":
209-
%{for line in split("\n", yamlencode(var.prometheus.yaml))~}
210-
${line}
211-
%{endfor~}
212206
"tolerations":
213207
%{for toleration in var.tolerations~}
214208
-%{if toleration.key != null} key: "${toleration.key}"%{endif}
@@ -259,6 +253,12 @@ resource "helm_release" "cloud_monitoring_agent" {
259253
"path": "/tmp"
260254
"name": "tmp-vol"
261255
%{endif~}
256+
"prometheus":
257+
"file": ${var.prometheus.file}
258+
"yaml":
259+
%{for line in split("\n", yamlencode(var.prometheus.yaml))~}
260+
${line}
261+
%{endfor~}
262262
EOT
263263
]
264264

0 commit comments

Comments
 (0)