Skip to content

Commit 61e698f

Browse files
committed
Fix yaml templating of other types than strings
1 parent f86b92f commit 61e698f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/model/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
locals {
2-
template_yaml_strings = [for template in try(local.model.meraki.template.networks, []) : yamlencode(template)]
2+
template_yaml_strings = [for template in try(local.model.meraki.template.networks, []) : replace(yamlencode(template), "/\"([$%]{.*})\"/", "$1")]
33
meraki = {
44
meraki = {
55
domains = [

0 commit comments

Comments
 (0)