generated from appvia/terraform-aws-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
50 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,8 @@ [email protected] | |
default: all | ||
|
||
all: | ||
$(MAKE) init | ||
$(MAKE) validate | ||
$(MAKE) security | ||
$(MAKE) lint | ||
$(MAKE) format | ||
|
@@ -39,6 +41,14 @@ documentation-examples: | |
@echo "--> Generating documentation examples" | ||
@find examples -type d -mindepth 1 -maxdepth 1 -exec terraform-docs markdown table --output-file README.md --output-mode inject {} \; | ||
|
||
init: | ||
@echo "--> Running terraform init" | ||
@terraform init -backend=false | ||
|
||
validate: | ||
@echo "--> Running terraform validate" | ||
@terraform validate | ||
|
||
lint: | ||
@echo "--> Running tflint" | ||
@tflint --init | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters