The Wayback Machine - https://web.archive.org/web/20201006201400/https://github.com/dtan4/terraforming/issues/377
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quoted descriptions embedded new lines not handled properly #377

Open
brunson opened this issue Oct 11, 2017 · 0 comments
Open

Quoted descriptions embedded new lines not handled properly #377

brunson opened this issue Oct 11, 2017 · 0 comments

Comments

@brunson
Copy link

@brunson brunson commented Oct 11, 2017

In the policy definition below description has an embedded newline and the generated terraform is invalid.

resource "aws_iam_policy" "my_policy_name_role" {
    name        = "my_policy_name_role"
    path        = "/"
    description = "This is the first line of the description followed by a newline
This is on a separate line"
    policy      = <<POLICY
[policy truncated for brevity]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.