Skip to content

v0.3.1 - error code 403 The Caller Does Not Have Permission #36

@ssay-work

Description

@ssay-work

TL;DR

Getting 403 error when authenticating to GCP. Two weeks (10/19) ago same exact workflow passed successfully. We did not change anything with our GCP IAM user and anything in the workflow. We followed the readme in setting up and I verified that nothing has changed on that user.

Expected behavior

Successful authentication.

Observed behavior

"error": {
"code": 403,
"message": "The caller does not have permission",
"status": "PERMISSION_DENIED"
}

Reproduction

Follow setup steps in readme and create a github action for Oauth2.0

Action YAML

    steps:
    - id: 'auth'
      name: 'Authenticate to Google Cloud'
      uses: 'google-github-actions/[email protected]'
      with:
        token_format: 'access_token'
        workload_identity_provider: 'projects/########/locations/global/workloadIdentityPools/github-actions-pool/providers/github-actions-provider'
        service_account: 'github-actions@#######.iam.gserviceaccount.com'

Additional information

No, we are in POC phase for deploying to GCP using GitHub actions and using this action is part of it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions