Skip to content

Commit b1a4b95

Browse files
authored
Update TerraformApply.yml
1 parent 10fb00c commit b1a4b95

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/TerraformApply.yml

+3-11
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,9 @@ jobs:
66
terraform_apply:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v1
10-
11-
- name: Install Terraform
12-
env:
13-
TERRAFORM_VERSION: "0.12.15"
14-
run: |
15-
tf_version=$TERRAFORM_VERSION
16-
wget https://releases.hashicorp.com/terraform/"$tf_version"/terraform_"$tf_version"_linux_amd64.zip
17-
unzip terraform_"$tf_version"_linux_amd64.zip
18-
sudo mv terraform /usr/local/bin/
19-
9+
- uses: actions/checkout@v3
10+
- uses: hashicorp/setup-terraform@v3
11+
2012
- name: Verify Terraform version
2113
run: terraform --version
2214

0 commit comments

Comments
 (0)