diff --git a/.github/workflows/infra-build.yml b/.github/workflows/infra-build.yml index 26a4298..f259f09 100644 --- a/.github/workflows/infra-build.yml +++ b/.github/workflows/infra-build.yml @@ -35,12 +35,15 @@ jobs: - name: Setup Opentofu uses: opentofu/setup-opentofu@v1 + + - name: Format vars file + run: tofu fmt terraform.auto.tfvars - name: Opentofu Init run: tofu init - name: Opentofu Format Check - run: tofu fmt -check -recursive -exclude terraform.auto.tfvars + run: tofu fmt -check -recursive - name: Opentofu Validate run: tofu validate