Skip to content
This repository was archived by the owner on Jul 20, 2024. It is now read-only.

Commit 06798e0

Browse files
authored
Add test of example (#27)
1 parent bec68f0 commit 06798e0

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

‎.circleci/config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ jobs:
66
steps:
77
- checkout
88
- run: apk add make
9-
- run: terraform init
109
- run: make check

‎Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ all: check README.md
33
.PHONY: check
44
check:
55
terraform fmt -check=true -diff=true
6+
terraform init
67
AWS_REGION=us-east-1 terraform validate
8+
make -C example check
79

810
README.md: variables.tf outputs.tf
911
sed -e '/^<!--terraform-docs-->/q' $@ > $@.tmp

‎example/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.PHONY: check
2+
check:
3+
terraform fmt -check=true -diff=true
4+
terraform init
5+
AWS_REGION=us-east-1 terraform validate

0 commit comments

Comments
 (0)