Skip to content

Commit

Permalink
Added TERRAFORM_SOURCE_DIR variable to specify terraform code path (#…
Browse files Browse the repository at this point in the history
…389)

* Added `TERRAFORM_SOURCE_DIR` variable to specify subdir

* Auto Format

* Update README.md

* Auto Format

* Update README.md

Co-authored-by: Andriy Knysh <[email protected]>

* Auto Format

---------

Co-authored-by: cloudpossebot <[email protected]>
Co-authored-by: Andriy Knysh <[email protected]>
  • Loading branch information
3 people authored Oct 9, 2024
1 parent 00a9870 commit 0cb4800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


<!-- markdownlint-disable -->
<a href="https://cpco.io/homepage"><img src=".github/banner.png?raw=true" alt="Project Banner"/></a><br/>
<a href="https://cpco.io/homepage"><img src="https://github.com/cloudposse/build-harness/blob/main/.github/banner.png?raw=true" alt="Project Banner"/></a><br/>
<p align="right">
<a href="https://github.com/cloudposse/build-harness/actions/workflows/docker.yml"><img src="https://img.shields.io/github/actions/workflow/status/cloudposse/build-harness/docker.yml?style=for-the-badge" alt="Build Status"/></a><a href="https://github.com/cloudposse/build-harness/releases/latest"><img src="https://img.shields.io/github/release/cloudposse/build-harness.svg?style=for-the-badge" alt="Latest Release"/></a><a href="https://github.com/cloudposse/build-harness/commits/master/"><img src="https://img.shields.io/github/last-commit/cloudposse/build-harness/master?style=for-the-badge" alt="Last Updated"/></a><a href="https://slack.cloudposse.com"><img src="https://slack.cloudposse.com/for-the-badge.svg" alt="Slack Community"/></a></p>
<!-- markdownlint-restore -->
Expand Down
2 changes: 1 addition & 1 deletion modules/docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ docs/targets.md: docs/deps
## Update `docs/terraform.md` from `terraform-docs`
docs/terraform.md: docs/deps packages/install/terraform-docs
@echo "<!-- markdownlint-disable -->" > $@ ; \
terraform-docs --lockfile=false md . >> $@ ; \
terraform-docs --lockfile=false md .$(TERRAFORM_SOURCE_DIR) >> $@ ; \
echo "<!-- markdownlint-restore -->" >> $@

.PHONY : docs/github-action.md
Expand Down

0 comments on commit 0cb4800

Please sign in to comment.