I get the following parse error when running terraform plan/terraform init
Failed to load root config module: Error loading /.../terraform/tf_chef_server/main.tf: Error reading config for template_file[attributes-json]: parse error at 1:30: expected ")" but found invalid sequence "\\"
Currently using Terraform v0.10.7
It's a problem with this statement:
addons = "${join(",", formatlist("\\"%s\\"", split(",", var.chef_addons)))}"
I get the following parse error when running terraform plan/terraform init
Failed to load root config module: Error loading /.../terraform/tf_chef_server/main.tf: Error reading config for template_file[attributes-json]: parse error at 1:30: expected ")" but found invalid sequence "\\"Currently using Terraform v0.10.7
It's a problem with this statement:
addons = "${join(",", formatlist("\\"%s\\"", split(",", var.chef_addons)))}"