Skip to content

Commit

Permalink
vars field for host,group
Browse files Browse the repository at this point in the history
  • Loading branch information
dgulinobw committed Jan 23, 2023
1 parent 8de6e65 commit 9904bec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dog-import/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func host_export(output_dir string, environment string, host_prefix string) {
fmt.Fprintf(tf_w, " location = \"%s\"\n", row.Location)
fmt.Fprintf(tf_w, " name = \"%s\"\n", row.Name)
fmt.Fprintf(tf_w, " provider = dog.%s\n", environment)
fmt.Fprintf(tf_w, " vars = {}\n", environment)
fmt.Fprintf(tf_w, " vars = {}\n")
fmt.Fprintf(tf_w, "}\n")
fmt.Fprintf(tf_w, "\n")

Expand Down Expand Up @@ -162,7 +162,7 @@ func group_export(output_dir string, environment string) {
regionsgid_output(tf_w, row.Ec2SecurityGroupIds)
fmt.Fprintf(tf_w, " ]\n")
fmt.Fprintf(tf_w, " provider = dog.%s\n", environment)
fmt.Fprintf(tf_w, " vars = {}\n", environment)
fmt.Fprintf(tf_w, " vars = {}\n")
fmt.Fprintf(tf_w, "}\n")
fmt.Fprintf(tf_w, "\n")
fmt.Fprintf(import_w, "terraform import module.dog.dog_group.%s %s\n", terraformName, row.ID)
Expand Down

0 comments on commit 9904bec

Please sign in to comment.