Skip to content

Commit

Permalink
Add test of example (int128#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
int128 authored Sep 13, 2020
1 parent bec68f0 commit 06798e0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ jobs:
steps:
- checkout
- run: apk add make
- run: terraform init
- run: make check
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ all: check README.md
.PHONY: check
check:
terraform fmt -check=true -diff=true
terraform init
AWS_REGION=us-east-1 terraform validate
make -C example check

README.md: variables.tf outputs.tf
sed -e '/^<!--terraform-docs-->/q' $@ > $@.tmp
Expand Down
5 changes: 5 additions & 0 deletions example/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.PHONY: check
check:
terraform fmt -check=true -diff=true
terraform init
AWS_REGION=us-east-1 terraform validate

0 comments on commit 06798e0

Please sign in to comment.