mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-05-01 21:04:27 +02:00
Use sed instead of tail for terraform-docs command (#211)
This commit is contained in:
committed by
Max Williams
parent
9d6740e116
commit
dfec7b1003
2
main.tf
2
main.tf
@@ -71,7 +71,7 @@
|
||||
* Install it with `go get github.com/segmentio/terraform-docs` or `brew install terraform-docs` and then use it to generate the `README.md` file:
|
||||
*
|
||||
* ```
|
||||
* terraform-docs --with-aggregate-type-defaults md ./ | cat -s | tail -r | tail -n +2 | tail -r > README.md
|
||||
* terraform-docs --with-aggregate-type-defaults md ./ | sed -e '$ d' -e 'N;/^\n$/D;P;D' > README.md
|
||||
* ```
|
||||
|
||||
* ## Contributing
|
||||
|
||||
Reference in New Issue
Block a user