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 version -json output #13

Closed
kmoe opened this issue Jul 3, 2020 · 1 comment · Fixed by #138
Closed

Parse terraform version -json output #13

kmoe opened this issue Jul 3, 2020 · 1 comment · Fixed by #138
Labels
enhancement New feature or request
Milestone

Comments

@kmoe
Copy link
Member

kmoe commented Jul 3, 2020

From 0.13 onwards, terraform version accepts a -json flag. See hashicorp/terraform#25252.

It might be worth trying terraform version -json first, before falling back to the legacy version output parsing logic added in #7.

@paultyng paultyng added the enhancement New feature or request label Jul 19, 2020
@radeksimko radeksimko added this to the v1.0.0 milestone Nov 19, 2020
@radeksimko
Copy link
Member

This may become more important with hashicorp/terraform#26975 where the static output is changing again.

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

Successfully merging a pull request may close this issue.

3 participants