Skip to content

Commit

Permalink
use az login in v1 on ci-cd pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Raffael-Eloi committed Jun 15, 2024
1 parent 4cda509 commit ac11020
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci-cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ jobs:
terraform_version: 1.7.5

- name: Azure login
uses: azure/login@v2
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
enable-AzPSSession: true

- name: Terraform Init and Validate
run: |
Expand All @@ -49,12 +48,11 @@ jobs:
terraform_version: 1.7.5

- name: Azure login
uses: azure/login@v2
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
enable-AzPSSession: true

- name: Terraform Init, Plan and Apply
run: |
Expand Down

0 comments on commit ac11020

Please sign in to comment.