Skip to content

Commit

Permalink
fix(deps): updating terraform-docs to 0.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robcoward committed Jul 25, 2024
1 parent 8ad43d0 commit 9461227
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ghcr.io/aquasecurity/trivy:0.53.0 AS trivy

FROM ghcr.io/terraform-linters/tflint:v0.52.0 AS tflint

FROM quay.io/terraform-docs/terraform-docs:0.17.0 AS terraform-docs
FROM quay.io/terraform-docs/terraform-docs:0.18.0 AS terraform-docs

FROM alpine:3.20.2 AS build

Expand Down
5 changes: 3 additions & 2 deletions pipe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set -e

source "$(dirname "$0")/common.sh"

info "Running module tests"

# Required parameters
TF_MODULE_PATH=${TF_MODULE_PATH:?"TF_MODULE_PATH env variable is required"}
Expand All @@ -25,6 +24,8 @@ enable_debug() {
}
enable_debug

info "Running module tests for ${TF_MODULE_PATH}"

cd ${TF_MODULE_PATH}
terraform init

Expand Down Expand Up @@ -76,7 +77,7 @@ fi
if [[ "${RUN_DOCS}" == "true" ]]; then
info "Checking module documentation"
touch README.md && cp README.md README.md.new
run terraform-docs markdown --output-file README.md.new . && diff -bw README.md README.md.new
run terraform-docs markdown table --output-file README.md.new . && diff -bw README.md README.md.new

if [[ "${status}" == "0" ]]; then
success "Success!"
Expand Down

0 comments on commit 9461227

Please sign in to comment.