You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We're running the pipelines in CircleCI and would like to get the plan output as test we can post as a GitHub comment for reviewers to check
Describe the solution you'd like
When running the plan job, the output (stdout) will be saved to file that then can be persisted and used in another job to be pushed to GitHub as a comment.
Optionally adding that functionality to other jobs like verify can be useful to catch errors
Describe alternatives you've considered
At the moment we're using in-house orb that does exactly that but we prefer to reduce the amount of orbs we maintain to a minimum and have this functionality available in this orb
Not the greatest implementation but working example
(terraform plan -no-color -compact-warnings -out=plan.out \
-lock=<< parameters.lock-state >> << parameters.terraform-extra-args >> | tee plan-stdout.txt) 3>&1 1>&2 2>&3 | tee error.txt
Additional context
Add any other context about the feature request here.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We're running the pipelines in CircleCI and would like to get the plan output as test we can post as a GitHub comment for reviewers to check
Describe the solution you'd like
When running the plan job, the output (stdout) will be saved to file that then can be persisted and used in another job to be pushed to GitHub as a comment.
Optionally adding that functionality to other jobs like verify can be useful to catch errors
Describe alternatives you've considered
At the moment we're using in-house orb that does exactly that but we prefer to reduce the amount of orbs we maintain to a minimum and have this functionality available in this orb
Not the greatest implementation but working example
Additional context
Add any other context about the feature request here.
The text was updated successfully, but these errors were encountered: