Skip to content

Commit

Permalink
fix: terraform-docs configuration usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dploeger committed Apr 19, 2023
1 parent 84a1748 commit 8a0b3eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN TF_HW="amd64" && \
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

ENTRYPOINT /entrypoint.sh
COPY .terraform-docs.yml /.terraform-docs.yml

ENTRYPOINT /entrypoint.sh
WORKDIR /terraform
COPY .terraform-docs.yml .terraform-docs.yml
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ terraform fmt .
echo "﹥ Running tflint"
tflint
echo "﹥ Running terraform-docs"
terraform-docs .
terraform-docs -c /.terraform-docs.yml .

0 comments on commit 8a0b3eb

Please sign in to comment.