Skip to content

Commit

Permalink
fix: fixing end location
Browse files Browse the repository at this point in the history
fixing end
  • Loading branch information
osher.elmakaies authored and osherElm committed Nov 21, 2022
1 parent 0e57864 commit 6f4babd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/services/templates/locals_file.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ locals{ {{range $moduleName,$moduleData := .Module}}
tomap({ {{range $propertyName, $propertyValue := $mapValue}}
{{$propertyName}} = contains(keys(var.{{$moduleName}}.{{$mapKey}}),{{$propertyName}}) != false ? var.{{$moduleName}}.{{$mapKey}}[{{$propertyName}}] : {{$propertyValue}}{{end}}}
)):{
{{range $name, $value := $mapValue}} {{$name}} = {{$value}}{{end}}}{{end}}{{end}}
{{range $name, $value := $mapValue}} {{$name}} = {{$value}}
{{end}}} {{end}}{{end}}
{{end}}

0 comments on commit 6f4babd

Please sign in to comment.