Skip to content

JSON Parse Error #66

@ackSec

Description

@ackSec

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)))}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions