Skip to content

Commit

Permalink
Fixed spaces in template
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrst88 committed May 6, 2018
1 parent 715fb8a commit 6d08770
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions main.go
Expand Up @@ -15,11 +15,12 @@ import (
var replacer *strings.Replacer
var tf_file_ext = "*.tf"
var var_prefix = "var."
var varTemplate = template.Must(template.New("var_file").Parse(`{{ range . }} variable "{{ . }}" {
var varTemplate = template.Must(template.New("var_file").Parse(`{{range .}}
variable "{{ . }}" {
description = ""
}
}
{{end}}
`))
`))

type TerraformVars struct {
Variables []string
Expand Down

0 comments on commit 6d08770

Please sign in to comment.