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

Use native output file, method, and template #46

Merged
merged 1 commit into from
Nov 24, 2021

Conversation

khos2ow
Copy link
Member

@khos2ow khos2ow commented May 18, 2021

Description of your changes

Since v0.12.0 terraform-docs has the ability to save the generated content directly into a target file. This was closely inspired by output-file, output-method, and output-template originally defined by the action, and as such there is, now, native ways of doing so instead of grep, sed, awk dance.

xref: #37
fixes #62
fixes #67

I have:

How has this code been tested

@khos2ow khos2ow force-pushed the native-output-file branch 6 times, most recently from 5f716a3 to 1c27649 Compare May 18, 2021 23:52
@khos2ow khos2ow changed the title Use native terraform-docs output file and meth Use native output file, method, and template May 19, 2021
Copy link
Collaborator

@Dirrk Dirrk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, and am really glad that you moved away from my hacky ass grep/sed/awk. FYI and I know this is 6 months late but I updated the old repository as deprecated and pointed them this way.

@bogaertg
Copy link
Contributor

bogaertg commented Sep 8, 2021

Hi,

Hope you're doing well.
some news about this PR and a release date ?

@khos2ow khos2ow force-pushed the native-output-file branch 6 times, most recently from f0fb45e to 087ce92 Compare November 19, 2021 18:35
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Template string has extra -'s output-file should be determined from config-file if present
3 participants