after we update to the release 1.0.0 our workflow broken with the follwoing error
ERROR: (gcloud.compute.ssh) User [None] does not have permission to access users instance [None] (or it may not exist): End user credentials must match the user specified in the request. Request for user [ None] does not match the credential for [[email protected]].
No response
No response
the snippet workflow code is
- id: auth
name: Authenticate to Google Cloud
uses: google-github-actions/[email protected] # v0.8.1
with:
# Default is to generate a key file, which is automatically configured for use with gcloud.
workload_identity_provider: ${{ env.WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ env.SERVICE_ACCOUNT }}
- uses: google-github-actions/[email protected] # v0.6.0
with:
project_id: ${{ env.PROJECT_ID }}
- name: Install gke-gcloud-auth-plugin
if: ${{ env.BASTION_ACCESS == 'true' }}
run: gcloud --quiet components install gke-gcloud-auth-plugin
- uses: hashicorp/[email protected] # 2.0.0
with:
terraform_version: 1.1.9
terraform_wrapper: false
- name: connect to bastion
if: ${{ env.BASTION_ACCESS == 'true' }}
run: |
gcloud compute ssh --zone ${{ env.BASTION_ZONE }} ${{ env.BASTION_NAME}} --tunnel-through-iap --project ${{ env.PROJECT_ID }} -- -N -D 8118 &
sleep 60
ERROR: (gcloud.compute.ssh) User [None] does not have permission to access users instance [None] (or it may not exist): End user credentials must match the user specified in the request. Request for user [ None] does not match the credential for [[email protected]].
No response
Hi @cpanato - we had a bug in setup-gcloud 1.0 around exported credentials. Can you try google-github-actions/[email protected] please?
Hi @cpanato - we had a bug in setup-gcloud 1.0 around exported credentials. Can you try google-github-actions/[email protected] please?
will try, thanks for the quick response
Owner Name | google-github-actions |
Repo Name | setup-gcloud |
Full Name | google-github-actions/setup-gcloud |
Language | TypeScript |
Created Date | 2019-11-05 |
Updated Date | 2023-03-23 |
Star Count | 1505 |
Watcher Count | 65 |
Fork Count | 548 |
Issue Count | 11 |
Issue Title | Created Date | Updated Date |
---|