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

Getting Error on Assuming role on itself #1219

Closed
1 task
gr8vishwa01 opened this issue Dec 6, 2024 · 1 comment
Closed
1 task

Getting Error on Assuming role on itself #1219

gr8vishwa01 opened this issue Dec 6, 2024 · 1 comment
Labels
bug Something isn't working needs-triage This issue still needs to be triaged

Comments

@gr8vishwa01
Copy link

gr8vishwa01 commented Dec 6, 2024

Describe the bug

I am login to the AWS using our with admin privileges and trust policies as mentioned but I am getting below error when I run the Kubectl apply command:

An error occurred (AccessDenied) when calling the AssumeRole operation: User: arn:aws:sts::abc:assumed-role/AssumeRoleWithAction/GitHub_to_AWS is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::abc:role/AssumeRoleWithAction

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

After login to AWS it should run kubectl apply to run manifest on AWS eks

Current Behavior

Na...

Reproduction Steps

Login to AWS using github action with OIDC
Update kubeconfig
Run Kubectl Apply --> here I get the errror

Possible Solution

No response

Additional Information/Context

No response

@gr8vishwa01 gr8vishwa01 added bug Something isn't working needs-triage This issue still needs to be triaged labels Dec 6, 2024
Copy link

github-actions bot commented Dec 6, 2024

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage This issue still needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant