Skip to content

Commit 7fcb0c5

Browse files
committed
update
1 parent be109e7 commit 7fcb0c5

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/terraform-build.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# .github/workflows/terraform-azure.yml
22

3-
name: Run Libre DevOps Terraform for Azure
3+
name: Terraform Build
44

55
on:
66
workflow_dispatch:
@@ -14,6 +14,10 @@ on:
1414
required: false
1515
default: '["all"]'
1616

17+
permissions:
18+
id-token: write # This is required for requesting the JWT
19+
contents: read # This is required for actions/checkout
20+
1721
jobs:
1822
terraform:
1923
runs-on: ubuntu-latest
@@ -24,9 +28,9 @@ jobs:
2428
- name: Azure Login (OIDC)
2529
uses: azure/login@v2
2630
with:
27-
client-id: ${{ secrets.AZURE_CLIENT_ID }}
28-
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
29-
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
31+
client-id: ${{ secrets.ARM_CLIENT_ID }}
32+
tenant-id: ${{ secrets.ARM_TENANT_ID }}
33+
subscription-id: ${{ secrets.ARM_SUBSCRIPTION_ID }}
3034

3135
- name: Libre DevOps - Run Terraform for Azure
3236
uses: libre-devops/terraform-azure-docker-gh-action@v0.1

0 commit comments

Comments
 (0)