ci: fix credentials for tofu test stage
Some checks failed
pull-requests-open / Check commit compliance (pull_request) Successful in 36s
development / Check commit compliance (push) Successful in 43s
pull-requests-open / Check pre-commit status (pull_request) Successful in 14s
pull-requests-open / Run E2E tofu tests (pull_request) Failing after 41s
Some checks failed
pull-requests-open / Check commit compliance (pull_request) Successful in 36s
development / Check commit compliance (push) Successful in 43s
pull-requests-open / Check pre-commit status (pull_request) Successful in 14s
pull-requests-open / Run E2E tofu tests (pull_request) Failing after 41s
This commit is contained in:
parent
19c2032afa
commit
7a8ff6341a
@ -100,7 +100,7 @@ jobs:
|
|||||||
- name: Get required credentials
|
- name: Get required credentials
|
||||||
id: tofu-auth
|
id: tofu-auth
|
||||||
run: |
|
run: |
|
||||||
VAULT_TOKEN=$(curl --silent --request POST --data '{"role_id": "${{ steps.import-secrets.outputs.VAULT_INFRABUILDER_APPROLE_ID }}","secret_id": "${{ steps.import-secrets.outputs.VAULT_INFRABUILDER_APPROLE_SECRET_ID }}"}' https://vault.ednz.fr/v1/auth/approle/login | jq -r .auth.client_token)
|
VAULT_TOKEN=$(curl --silent --request POST --data '{"role_id": "${{ secrets.VAULT_APPROLE_ID }}","secret_id": "${{ secrets.VAULT_APPROLE_SECRET_ID }}"}' https://vault.ednz.fr/v1/auth/approle/login | jq -r .auth.client_token)
|
||||||
echo "vault_token=$VAULT_TOKEN" >> $GITHUB_OUTPUT
|
echo "vault_token=$VAULT_TOKEN" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Tofu init
|
- name: Tofu init
|
||||||
|
Loading…
Reference in New Issue
Block a user