MON-392 update terraform-docs to 0.6.0

This commit is contained in:
Quentin Manfroi 2019-02-06 10:06:55 +01:00
parent ee4b7a9488
commit abd31b07c3
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ test_auto_update:
- apk update
- apk upgrade
- apk add --no-cache bash git grep coreutils curl
- curl -Lo /usr/local/bin/terraform-docs "https://github.com/$(curl -s https://github.com/segmentio/terraform-docs/releases | grep terraform-docs-v0.4.0-linux-amd | head -n 1 | cut -d '"' -f 2)"
- curl -Lo /usr/local/bin/terraform-docs "https://github.com/$(curl -s https://github.com/segmentio/terraform-docs/releases | grep terraform-docs-v0.6.0-linux-amd | head -n 1 | cut -d '"' -f 2)"
- chmod +x /usr/local/bin/terraform-docs
- ./scripts/auto_update.sh ./
- git status

View File

@ -91,7 +91,7 @@ EOF
done
IFS=$SAVEIFS
# auto generate terraform docs (inputs and outputs)
terraform-docs --with-aggregate-type-defaults md ./ >> README.md
terraform-docs --with-aggregate-type-defaults md table ./ >> README.md
# if README does not exist
if [[ $EXIST -eq 0 ]]; then
# Simply add empty documentation section