Skip to content

Commit e491b9a

Browse files
authored
Merge pull request #3 from solidnerd/add-circleci-tests
Add first steps with circleci
2 parents b1eee1b + e1466b6 commit e491b9a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.circleci/config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
3+
jobs:
4+
validate_terraform:
5+
docker:
6+
- image: hashicorp/terraform
7+
steps:
8+
- checkout
9+
- run:
10+
name: Validate Terraform Formatting
11+
command: "[ -z \"$(terraform fmt -write=false)\" ] || { terraform fmt -write=false -diff; exit 1;}"
12+

0 commit comments

Comments
 (0)