-
Notifications
You must be signed in to change notification settings - Fork 468
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
Add notes to documentation about Enterprise #727
Comments
I have a similar issue. I have a setup where the IAM role was correctly working. Then today it throw the error message.
Not sure if this is kind of a temporary outage, https://www.githubstatus.com/ shows everything green now, I tried to rerun the flow with a newer version (v2), same result. Update: it works from me on main branch but not in dev branch (the two branches are "connected" to different AWS accounts) Update: my provider in AWS account has been changed or deleted. So problem solved on my side. |
@juliusoh As you are using GHES instance, by default OIDC endpoints are internal and not accessible from outside. So you need to expose following endpoints to the internet(public) |
Good catch @kchandra548, the enterprise OIDC endpoint is different than normal. See the documentation on GitHub here on how to configure your identity provider when using Enterprise Server |
Added short note about enterprise https://github.com/aws-actions/configure-aws-credentials#note-about-ghes |
** Note ** |
Describe the bug
I have
- uses: aws-actions/configure-aws-credentials@v2 with: aws-region: ${{ secrets.AWS_REGION }} role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} role-session-name: "TerraformPlan"
It throws an error
Error: No OpenIDConnect provider found in your account for https://github.MYORG.net/_services/token
Expected Behavior
I expect it to successfully assume role. OIDC provider and Role was successfully created in AWS.
Current Behavior
The error is thrown
Reproduction Steps
Create OIDC provider for GIthub enterprise account
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: