damondouglas commented on code in PR #22724:
URL: https://github.com/apache/beam/pull/22724#discussion_r949779830


##########
.github/workflows/build_playground_backend.yml:
##########
@@ -85,3 +85,9 @@ jobs:
           GOOGLE_APPLICATION_CREDENTIALS: /tmp/gcp_access.json
         run: ./gradlew playground:terraform:deployBackend 
-Pdocker-tag=${{env.DOCKERTAG}} -Pproject_id=${{ 
secrets.GCP_PLAYGROUND_PROJECT_ID }} -Pproject_environment='beta' 
-Pdocker-repository-root='${{ secrets.PLAYGROUND_REGISTRY_NAME}}/${{ 
secrets.GCP_PLAYGROUND_PROJECT_ID }}/playground-repository'
         if: startsWith(github.ref, 'refs/tags/')
+      - name: DB Index creation
+        run: |
+         gcloud auth activate-service-account --project=${{ 
secrets.GCP_PLAYGROUND_PROJECT_ID }} --key-file=/tmp/gcp_access.json

Review Comment:
   This is not a blocker on the PR, but I want to ask, there's no way to use 
service account impersonation instead of activating a service account via a 
downloaded key?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to