Skip to content

Commit

Permalink
Merge pull request #4 from dreazil/dreazil-patch-2
Browse files Browse the repository at this point in the history
Update tf-plan-apply.yml
  • Loading branch information
dreazil authored Jul 9, 2024
2 parents 16bec51 + e0bff95 commit a2d288c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tf-plan-apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
-backend-config="username=$ZTL_USERNAME"
-backend-config="password=$ZTL_API_TOKEN"
env:
ZTL_USERNAME: ${{ vars.ZTL_USERNAME }}
ZTL_API_TOKEN: ${{ secrets.ZTL_API_TOKEN }}
ZTL_USERNAME: ${{ vars.ZTL_USERNAME }}
ZTL_API_TOKEN: ${{ secrets.ZTL_API_TOKEN }}

# Checks that all Terraform configuration files adhere to a canonical format
# Will fail the build if not
Expand All @@ -65,7 +65,7 @@ jobs:
fi
env:
TF_VAR_fqdn: ${{ vars.ZTL_FQDN }}
TF_VAR_api_token: ${{ secrets.ZTL_API_TOKEN }}
TF_VAR_api_token: ${{ secrets.ZTL_API_TOKEN }}

# Save plan to artifacts
- name: Publish Terraform Plan
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:

- uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.9.1
terraform_version: "1.9.1"

# Initialize a new or existing Terraform working directory by creating initial files,
# loading any remote state, downloading modules, etc.
Expand All @@ -140,8 +140,8 @@ jobs:
-backend-config="username=$ZTL_USERNAME"
-backend-config="password=$ZTL_API_TOKEN"
env:
ZTL_USERNAME: ${{ vars.ZTL_USERNAME }}
ZTL_API_TOKEN: ${{ secrets.ZTL_API_TOKEN }}
ZTL_USERNAME: ${{ vars.ZTL_USERNAME }}
ZTL_API_TOKEN: ${{ secrets.ZTL_API_TOKEN }}

# Download saved plan from artifacts
- name: Download Terraform Plan
Expand Down

0 comments on commit a2d288c

Please sign in to comment.