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

Parse terraform show output #23

Open
scgodbold opened this issue Dec 18, 2018 · 1 comment
Open

Parse terraform show output #23

scgodbold opened this issue Dec 18, 2018 · 1 comment

Comments

@scgodbold
Copy link

It seems like this could be useful for automation as the stored plan objects are needed to ensure a consistent state is applied. Failure is caused by the lack of leading and trailing character sequences that are only emitted at the time the plan is first ran.

For now I have worked around this by doing:

echo "\nTerraform will perform the following actions:\n $(terraform show -no-color tfplan) \nPlan:" | parse-terraform-plan
@captn3m0
Copy link

+1 for this.

@scgodbold Thanks for the workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants