fix: use TF_VAR_ prefix for token credentials
Some checks failed
Gitea Actions Demo / Terraform Plan (push) Failing after 13s
Some checks failed
Gitea Actions Demo / Terraform Plan (push) Failing after 13s
- Restore pm_api_token_id and pm_api_token_secret variables - Use TF_VAR_pm_api_token_id and TF_VAR_pm_api_token_secret env vars - This is the standard Terraform way to pass variables via environment
This commit is contained in:
@@ -18,8 +18,8 @@ jobs:
|
||||
env:
|
||||
TF_VAR_SSH_KEY_PUBLIC: ${{ secrets.SSH_KEY_PUBLIC }}
|
||||
TF_VAR_TS_AUTHKEY: ${{ secrets.TS_AUTHKEY }}
|
||||
PM_API_TOKEN_ID: ${{ secrets.PM_API_TOKEN_ID }}
|
||||
PM_API_TOKEN_SECRET: ${{ secrets.PM_API_TOKEN_SECRET }}
|
||||
TF_VAR_pm_api_token_id: ${{ secrets.PM_API_TOKEN_ID }}
|
||||
TF_VAR_pm_api_token_secret: ${{ secrets.PM_API_TOKEN_SECRET }}
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
||||
@@ -19,8 +19,8 @@ jobs:
|
||||
env:
|
||||
TF_VAR_SSH_KEY_PUBLIC: ${{ secrets.SSH_KEY_PUBLIC }}
|
||||
TF_VAR_TS_AUTHKEY: ${{ secrets.TS_AUTHKEY }}
|
||||
PM_API_TOKEN_ID: ${{ secrets.PM_API_TOKEN_ID }}
|
||||
PM_API_TOKEN_SECRET: ${{ secrets.PM_API_TOKEN_SECRET }}
|
||||
TF_VAR_pm_api_token_id: ${{ secrets.PM_API_TOKEN_ID }}
|
||||
TF_VAR_pm_api_token_secret: ${{ secrets.PM_API_TOKEN_SECRET }}
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
||||
Reference in New Issue
Block a user