Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

docs(iam): fix terraform formatting #207

Merged
merged 1 commit into from
Jan 8, 2019

Conversation

jlegrone
Copy link
Contributor

@jlegrone jlegrone commented Jan 8, 2019

Right now running terraform plan against the provided terraform raises an error:

Error: aws_iam_policy.server_policy: "policy" contains an invalid JSON policy



Error: aws_iam_role_policy.server_node: "policy" contains an invalid JSON policy

This is caused by hashicorp/terraform-provider-aws#1873, but is easy to fix by removing that leading whitespace.

Remove leading whitespace before curl brace in policy and apply terraform fmt.
Copy link
Contributor

@Joseph-Irving Joseph-Irving left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

@Joseph-Irving Joseph-Irving merged commit 6f306df into uswitch:master Jan 8, 2019
@jlegrone jlegrone deleted the feature/fix-iam-tf branch January 8, 2019 13:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants