Skip to content

Commit 5a20239

Browse files
author
Stan
committed
Remove export of Terraform secrets from workflow and add locals for Key Vault secrets
1 parent 6a7c0f2 commit 5a20239

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

.github/workflows/terraform-push.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,6 @@ jobs:
4343
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
4444
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
4545

46-
- name: Export Terraform secrets
47-
run: |
48-
echo "TF_VAR_mongo_connection_string=${{ secrets.MONGO_CONNECTION_STRING }}" >> $GITHUB_ENV
49-
echo "TF_VAR_mongo_db_name=${{ secrets.MONGO_DB_NAME }}" >> $GITHUB_ENV
50-
echo "TF_VAR_weather_api_key=${{ secrets.WEATHER_API_KEY }}" >> $GITHUB_ENV
51-
echo "TF_VAR_redis_connection_string=${{ secrets.REDIS_CONNECTION_STRING }}" >> $GITHUB_ENV
52-
5346
- name: Terraform Init
5447
run: terraform init
5548

0 commit comments

Comments
 (0)