Skip to content

Commit fa57eeb

Browse files
VIA-102 AJ/AS Install terraform on github
1 parent 10bfb56 commit fa57eeb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/actions/lint-terraform/action.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ runs:
1111
shell: bash
1212
run: |
1313
check_only=true scripts/githooks/check-terraform-format.sh
14+
- name: "Install Terraform"
15+
uses: hashicorp/setup-terraform@v3
16+
with:
17+
terraform_version: "1.11.2"
1418
- name: "Validate Terraform"
1519
shell: bash
1620
run: |

.github/workflows/cicd-3-deploy.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ jobs:
5757
steps:
5858
- name: "Checkout code"
5959
uses: actions/checkout@v4
60+
- name: "Install Terraform"
61+
uses: hashicorp/setup-terraform@v3
62+
with:
63+
terraform_version: "${{ TERRAFORM_VERSION }}"
6064
- name: "Deploy"
6165
id: deploy
6266
run: |

0 commit comments

Comments
 (0)