aws-genai-llm-chatbot icon indicating copy to clipboard operation
aws-genai-llm-chatbot copied to clipboard

current credentials could not be used to assume the role

Open alexeyshishkin01 opened this issue 10 months ago • 3 comments

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 avatar Apr 15 '24 17:04 alexeyshishkin01

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 ?

alexeyshishkin01 avatar Apr 16 '24 16:04 alexeyshishkin01

faced same issue on Cloud9. switching to different AWS credentials worked for me

yota-p avatar Jun 12 '24 12:06 yota-p

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Aug 12 '24 01:08 github-actions[bot]

This issue was closed because it has been inactive for 30 days since being marked as stale.

github-actions[bot] avatar Sep 11 '24 02:09 github-actions[bot]