fix: Parse tofu env vars in step instead of job
All checks were successful
tofu plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Successful in 12s
All checks were successful
tofu plan k8s-wheatley / tofu-plan-k8s-wheatley (pull_request) Successful in 12s
This commit is contained in:
parent
cadba057d2
commit
0af3b3a26a
1 changed files with 3 additions and 2 deletions
|
|
@ -17,8 +17,6 @@ env:
|
|||
AWS_S3_ENDPOINT: ${{ secrets.AWS_S3_ENDPOINT }}
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
TF_VAR_PROXMOX_API_TOKEN: ${{ secrets.PROXMOX_API_TOKEN }}
|
||||
TF_VAR_PROXMOX_ENDPOINT: ${{ secrets.PROXMOX_ENDPOINT }}
|
||||
|
||||
jobs:
|
||||
tofu-plan-k8s-wheatley:
|
||||
|
|
@ -69,6 +67,9 @@ jobs:
|
|||
|
||||
- name: OpenTofu Plan
|
||||
id: plan
|
||||
env:
|
||||
TF_VAR_PROXMOX_API_TOKEN: ${{ secrets.PROXMOX_API_TOKEN }}
|
||||
TF_VAR_PROXMOX_ENDPOINT: ${{ secrets.PROXMOX_ENDPOINT }}
|
||||
run: tofu plan -no-color
|
||||
working-directory: ${{ env.TOFU_DIR }}
|
||||
continue-on-error: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue