Skip to content

Commit 48338d1

Browse files
committed
Updated Code
1 parent eb63b07 commit 48338d1

File tree

2 files changed

+8
-23
lines changed

2 files changed

+8
-23
lines changed

.github/workflows/terraform-multi(runsOnSelfHosted).yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,15 @@ jobs:
6969
client-id: ${{ secrets.AZURE_CLIENT_ID }}
7070
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
7171
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
72-
73-
72+
7473
# - name: Setup Terraform
7574
# uses: hashicorp/setup-terraform@v3
7675
# with:
7776
# terraform_version: 1.6.6
7877

79-
8078
- name: Terraform Init (remote backend)
8179
run: terraform init -input=false -backend-config="resource_group_name=${{ inputs.rgname }}" -backend-config="storage_account_name=${{ inputs.saname }}" -backend-config="container_name=${{ inputs.scname }}" -backend-config="key=${{ inputs.key }}"
8280

83-
8481
# - name: Upload providers dir
8582
# uses: actions/upload-artifact@v4
8683
# with:

.github/workflows/terraform-multi(runsOnUbuntu).yaml

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ jobs:
6969
with:
7070
terraform_version: 1.6.6
7171

72-
73-
7472
# - name: Azure Login
7573
# uses: Azure/login@v2.3.0
7674
# with:
@@ -93,26 +91,16 @@ jobs:
9391
echo "ARM_SUBSCRIPTION_ID=${{ secrets.AZURE_SUBSCRIPTION_ID }}" >> $GITHUB_ENV
9492
echo "ARM_USE_OIDC=true" >> $GITHUB_ENV
9593
96-
97-
- name: Debug ARM OIDC Environment Variables
98-
run: |
99-
echo "ARM_CLIENT_ID: $ARM_CLIENT_ID"
100-
echo "ARM_TENANT_ID: $ARM_TENANT_ID"
101-
echo "ARM_SUBSCRIPTION_ID: $ARM_SUBSCRIPTION_ID"
102-
echo "ARM_USE_OIDC: $ARM_USE_OIDC"
103-
104-
105-
106-
107-
# - name: Setup Terraform
108-
# uses: hashicorp/setup-terraform@v3
109-
# with:
110-
# terraform_version: 1.6.6
111-
94+
# - name: Debug ARM OIDC Environment Variables
95+
# run: |
96+
# echo "ARM_CLIENT_ID: $ARM_CLIENT_ID"
97+
# echo "ARM_TENANT_ID: $ARM_TENANT_ID"
98+
# echo "ARM_SUBSCRIPTION_ID: $ARM_SUBSCRIPTION_ID"
99+
# echo "ARM_USE_OIDC: $ARM_USE_OIDC"
100+
112101
- name: Terraform Init (remote backend)
113102
run: terraform init -input=false -backend-config="resource_group_name=${{ inputs.rgname }}" -backend-config="storage_account_name=${{ inputs.saname }}" -backend-config="container_name=${{ inputs.scname }}" -backend-config="key=${{ inputs.key }}"
114103

115-
116104
# - name: Upload providers dir
117105
# uses: actions/upload-artifact@v4
118106
# with:

0 commit comments

Comments
 (0)