From 84ad3ffd849191f2cf1daaf60acbc8709f575171 Mon Sep 17 00:00:00 2001 From: Nathan Newcomb Date: Thu, 16 Feb 2023 12:15:22 -0600 Subject: [PATCH 1/2] add validation check to CI --- .github/workflows/terraform.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index d6df430..1d4f8a8 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -24,3 +24,6 @@ jobs: # Checks that all Terraform configuration files adhere to a canonical format - name: Terraform Format run: terraform fmt -recursive -check + + - name: Terraform Validate + run: terraform validate From 895bd2be718e8521f376e571d5a6b34897aa8f6f Mon Sep 17 00:00:00 2001 From: Nathan Newcomb Date: Thu, 23 Feb 2023 13:07:20 -0600 Subject: [PATCH 2/2] add terraform init command --- .github/workflows/terraform.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 1d4f8a8..91e108a 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -25,5 +25,8 @@ jobs: - name: Terraform Format run: terraform fmt -recursive -check + - name: Terraform init + run: terraform init + - name: Terraform Validate run: terraform validate