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

Request: Log TF command result to both workflow log and GITHUB_OUTPUT #100

Closed
rdhar opened this issue Apr 8, 2024 · 1 comment · Fixed by #103
Closed

Request: Log TF command result to both workflow log and GITHUB_OUTPUT #100

rdhar opened this issue Apr 8, 2024 · 1 comment · Fixed by #103
Assignees
Labels
enhancement New feature or request

Comments

@rdhar
Copy link
Contributor

rdhar commented Apr 8, 2024

Is your feature request related to a problem? Please describe.

Following #93 and #98 for implementing support for GH Action, it'd be ideal to log the results of TF commands to both workflow log and GITHUB_OUTPUT, instead of just GITHUB_OUTPUT currently.

Describe the solution you'd like

This would be desirable have since:

  • the end-user might not want to output the result of TF commands within a PR comment, and view the workflow logs directly.
  • the TF plan output may exceed the 65536 characters limit of a PR comment, so the only way to view the entire plan is via the workflow logs directly.

Describe alternatives you've considered

Additional context

Thank you for your time!

@rdhar
Copy link
Contributor Author

rdhar commented Apr 9, 2024

Hats-off -- functions perfectly in both GITHUB_OUTPUT and workflow log!

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