Compare commits

...

2 commits

Author SHA1 Message Date
ba83c03b6d
fix(cicd): create tf plugin cache so tf format check can see it
Some checks failed
Terraform CI/CD / Terraform Format, Validate, Lint, Scan (push) Failing after 6m9s
Terraform CI/CD / Terraform Plan (push) Has been skipped
Terraform CI/CD / Terraform Apply (push) Has been skipped
2025-04-20 10:21:34 +00:00
2d7c2a7b6e
fix(main): define required tf version 2025-04-20 10:19:28 +00:00
2 changed files with 4 additions and 3 deletions

View file

@ -29,15 +29,15 @@ jobs:
- name: Setup Nomad - name: Setup Nomad
uses: hashicorp/setup-nomad@main uses: hashicorp/setup-nomad@main
- name: Create Terraform Plugin Cache Dir
run: mkdir -v -p $TF_PLUGIN_CACHE_DIR
- name: Terraform Format Check - name: Terraform Format Check
run: terraform fmt -check -recursive run: terraform fmt -check -recursive
- name: Nomad fmt - name: Nomad fmt
run: nomad fmt -recursive -check run: nomad fmt -recursive -check
- name: Create Terraform Plugin Cache Dir
run: mkdir -v -p $TF_PLUGIN_CACHE_DIR
- name: Cache Terraform Plugin Dir - name: Cache Terraform Plugin Dir
uses: actions/cache@v4 uses: actions/cache@v4
with: with:

View file

@ -1,4 +1,5 @@
terraform { terraform {
required_version = ">= 1.2.0, < 2.0.0"
backend "pg" {} backend "pg" {}
} }