Skip to content

Commit

Permalink
ARM Credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
harryy94 committed Jan 23, 2025
1 parent e5f0988 commit 5e1065b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/deploy-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
id-token: write
environment:
name: 'Test'
env:
ARM_CLIENT_ID: "${{ secrets.AZURE_CLIENT_ID }}"
ARM_SUBSCRIPTION_ID: "${{ secrets.AZURE_SUBSCRIPTION_ID }}"
ARM_TENANT_ID: "${{ secrets.AZURE_TENANT_ID }}"

steps:
- uses: actions/checkout@v4
Expand All @@ -23,7 +27,13 @@ jobs:
- name: 'Az CLI login'
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
creds: |
{
"clientId": ${{ secrets.AZURE_CLIENT_ID }},
"clientSecret": ${{ secrets.AZURE_CLIENT_SECRET }},
"tenantId": ${{ secrets.AZURE_TENANT_ID }}
"subscriptionId": ${{ secrets.AZURE_SUBSCRIPTION_ID }}
}
enable-AzPSSession: true

- name: Create TF State dependencies
Expand Down

0 comments on commit 5e1065b

Please sign in to comment.