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

current credentials could not be used to assume the role #454

Open
alexeyshishkin01 opened this issue Apr 15, 2024 · 1 comment
Open

current credentials could not be used to assume the role #454

alexeyshishkin01 opened this issue Apr 15, 2024 · 1 comment

Comments

@alexeyshishkin01
Copy link

Dear all,

During the deployment via 'npx cdk deploy' in Cloud9 environment I get the following warning messages:

current credentials could not be used to assume 'arn:aws:iam::XXXXXXXXXXXX:role/cdk-hnb659fds-lookup-role-XXXXXXXXXXXX-YYYYYYYYY', but are for the right account. Proceeding anyway.
current credentials could not be used to assume 'arn:aws:iam::XXXXXXXXXXXX:role/cdk-hnb659fds-deploy-role-XXXXXXXXXXXX-YYYYYYYYY', but are for the right account. Proceeding anyway.
current credentials could not be used to assume 'arn:aws:iam::XXXXXXXXXXXX:role/cdk-hnb659fds-file-publishing-role-XXXXXXXXXXXX-YYYYYYYYY', but are for the right account. Proceeding anyway.
current credentials could not be used to assume 'arn:aws:iam::XXXXXXXXXXXX:role/cdk-hnb659fds-image-publishing-role-XXXXXXXXXXXX-YYYYYYYYY', but are for the right account. Proceeding anyway.

and the deployment rolls back.

I have admin permissions and the roles mentioned above exist.

How can I fix this issue ?

best regards
Alexey Shishkin

@alexeyshishkin01
Copy link
Author

it looks like the issue was with the restrictions for temporary managed credentials in Cloud9, so I had to switch to SSO

am I alone who hit this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant