Skip to content

Commit f06cc83

Browse files
Merge pull request #62 from netascode/ds-fix-yaml-templating
Fix yaml templating of other types than strings
2 parents b53ad93 + 61e698f commit f06cc83

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)