Skip to content

Commit

Permalink
Adding login to az and gcp
Browse files Browse the repository at this point in the history
  • Loading branch information
jeniawhite committed Oct 28, 2024
1 parent 95511eb commit 7188110
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/upgrade-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,19 @@ jobs:
role-session-name: github-ci
aws-region: ${{ env.AWS_REGION }}

- id: google-auth
name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
with:
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}

- id: azure-auth
name: Azure login
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Download tf state data
env:
S3_BUCKET: ${{ needs.deploy.outputs.s3-bucket }}
Expand Down

0 comments on commit 7188110

Please sign in to comment.