Skip to content

Commit 640eec2

Browse files
committed
Update
1 parent 705036a commit 640eec2

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

.github/workflows/terraform-build.yaml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# .github/workflows/terraform-azure.yml
2-
31
name: Terraform Build
42

53
on:
@@ -36,23 +34,8 @@ jobs:
3634
- name: Checkout code
3735
uses: actions/checkout@v4
3836

39-
- name: Azure Login (OIDC)
40-
uses: azure/login@v2
41-
with:
42-
client-id: ${{ secrets.ARM_CLIENT_ID }}
43-
tenant-id: ${{ secrets.ARM_TENANT_ID }}
44-
subscription-id: ${{ secrets.ARM_SUBSCRIPTION_ID }}
45-
46-
- name: Get GitHub OIDC Token
47-
id: get_oidc_token
48-
run: |
49-
OIDC_TOKEN=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
50-
"$ACTIONS_ID_TOKEN_REQUEST_URL&audience=api://AzureADTokenExchange" \
51-
| jq -r '.value')
52-
echo "OIDC_TOKEN=$OIDC_TOKEN" >> $GITHUB_ENV
53-
5437
- name: Libre DevOps - Run Terraform for Azure
55-
uses: libre-devops/terraform-azure-docker-gh-action@v0.1
38+
uses: libre-devops/terraform-azure-composite-gh-action@v0.1
5639
with:
5740
terraform-code-location: ${{ github.event.inputs.terraform-code-location }}
5841
terraform-stack-to-run-json: ${{ github.event.inputs.terraform-stack-to-run-json }}

0 commit comments

Comments
 (0)