Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: apply wif identity ref syntax #10

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

rcwbr
Copy link
Owner

@rcwbr rcwbr commented Oct 8, 2024

Closes #5

Bug behavior

The GCP auth step in the GitHub Actions workflow shows:

Error: google-github-actions/auth failed with: failed to generate Google Cloud OAuth 2.0 Access Token for [email protected]: {
  "error": {
    "code": 403,
    "message": "Permission 'iam.serviceAccounts.getAccessToken' denied on resource (or it may not exist).",
    "status": "PERMISSION_DENIED",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.ErrorInfo",
        "reason": "IAM_PERMISSION_DENIED",
        "domain": "iam.googleapis.com",
        "metadata": {
          "permission": "iam.serviceAccounts.getAccessToken"
        }
      }
    ]
  }
}

Expected behavior

Successful GCP auth when merging to main.

@rcwbr rcwbr self-assigned this Oct 8, 2024
@rcwbr rcwbr added the enhancement New feature or request label Oct 8, 2024
@rcwbr rcwbr merged commit 3d488d0 into main Oct 8, 2024
4 checks passed
@rcwbr rcwbr deleted the 5-workflow-gcp-auth-iam_permission_denied branch October 8, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Workflow GCP auth IAM_PERMISSION_DENIED
1 participant