Skip to content

Commit

Permalink
fixing workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed Sep 24, 2024
1 parent d8ce0b0 commit 28c23c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/terraform_apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
runs-on: [ "229685449397" ]
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
TF_WORKSPACE: ${{ vars.terraform_workspace }}

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down Expand Up @@ -50,9 +51,10 @@ jobs:

- name: Terraform Plan
id: plan
run: /opt/tfenv/bin/terraform plan
run: /opt/tfenv/bin/terraform plan -var-file=varfies/${{ vars.terraform_workspace }}.tfvars

# - name: Terraform Apply
# id: plan
# run: /opt/tfenv/bin/terraform apply -auto-approve
# continue-on-error: true

0 comments on commit 28c23c4

Please sign in to comment.