botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the AssumeRole operation
Leectan opened this issue · 1 comments
Leectan commented
Describe the bug
A clear and concise description of what the bug is.
botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the AssumeRole operation: User: arn:aws:iam::123456789012:user/aws-user is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::210987654321:role/cross-account-assume-role
To Reproduce
Steps to reproduce the behavior:
- Go to 'python aws_inventory.py --profile profile1'
Expected behavior
Should run all the way and output a file.
Screenshots / Stack Traces
Desktop (please complete the following information):
- OS: MacOS
- Python Version python 2.7.16
bitsandsalsa commented