Skip to content

Commit

Permalink
setup terraform cli for scalr
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa6765 committed Sep 9, 2024
1 parent 1eb324d commit 8ecc021
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/terraform-terragrunt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ jobs:
echo "TF_VERSION=$TF_VERSION" >> $GITHUB_ENV
echo "TG_VERSION=$TG_VERSION" >> $GITHUB_ENV
echo "THE_TF_WORKSPACE=$TF_WORKSPACE" >> $GITHUB_ENV
- name: Set up Terraform CLI with scalr
uses: Scalr/scalr-action@v1
with:
iac_platform: "terraform"
binary_version: ${{ env.TF_VERSION }}
scalr_hostname: ${{ secrets.SCALR_HOSTNAME }}
scalr_token: ${{ secrets.SCALR_API_TOKEN }}
scalr_workspace: ${{ env.THE_TF_WORKSPACE }}
binary_wrapper: true

- name: Set up Terraform CLI
uses: hashicorp/setup-terraform@v3
Expand Down

0 comments on commit 8ecc021

Please sign in to comment.