fix(ci): pass tfstate credentials to terraform apply
This commit is contained in:
parent
002257ce5b
commit
12b5805fb5
@ -231,6 +231,8 @@ jobs:
|
|||||||
- name: Terraform ${{ github.event.inputs.terraform_action || 'apply' }}
|
- name: Terraform ${{ github.event.inputs.terraform_action || 'apply' }}
|
||||||
working-directory: ${{ env.ENV_DIR }}
|
working-directory: ${{ env.ENV_DIR }}
|
||||||
env:
|
env:
|
||||||
|
AWS_ACCESS_KEY_ID: ${{ steps.vault.outputs.TF_STATE_ACCESS_KEY }}
|
||||||
|
AWS_SECRET_ACCESS_KEY: ${{ steps.vault.outputs.TF_STATE_SECRET_KEY }}
|
||||||
TF_VAR_vultr_api_key: ${{ steps.vault.outputs.VULTR_API_KEY }}
|
TF_VAR_vultr_api_key: ${{ steps.vault.outputs.VULTR_API_KEY }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user