Skip to content

Commit b8d02cb

Browse files
committed
tf workflow
1 parent 391f994 commit b8d02cb

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/sparta.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,21 @@ jobs:
4141
steps:
4242
- name: Checkout
4343
uses: actions/checkout@v4
44+
45+
- name: Setup Terraform
46+
uses: hashicorp/setup-terraform@v3
47+
with:
48+
terraform_version: 1.5.7
49+
50+
- name: Terraform Init
51+
run: terraform init
52+
53+
- name: Terraform Format
54+
run: terraform fmt -check
55+
continue-on-error: true
56+
57+
- name: Terraform Validate
58+
run: terraform validate
59+
60+
- name: Terraform Apply
61+
run: terraform apply -auto-approve

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ proofs
33
debug_*.json
44
crs
55
yarn-error.log
6+
.env*

0 commit comments

Comments
 (0)