-
Notifications
You must be signed in to change notification settings - Fork 233
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
Terraform plan produces invalid out file #42
Comments
I'm trying to consume the out file as part of executing terraform-compliance and i get the following error:
My state file was saved with Terraform Edit: See comment below: #42 (comment) |
@heathsnow I think you need to declare the terraform_version?
|
I think my issue was on the terraform-compliance side of things so safe to ignore my comment above :). That and I don't remember what my workflow was at the time :P |
If you need to use the output of the command somewhere else you'll need to do the following:
Otherwise the JSON will have gone through sanitization and will look like:
Which is really confusing since all the docs say that |
This issue should be fixed in an upcoming |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Hi,
I am trying to use the out file of terraform plan to convert to .json in order to apply some policy-as-code.
Anyone is able to produce a valid out file from this github action and convert to JSON?
The text was updated successfully, but these errors were encountered: