[Bug]: Assume Role Region is not valid for GovCloud Regions #4244
Labels
bug
provider/aws
Issues/PRs related with the AWS provider
severity/high
Bug capable of collapsing large parts of the execution.
Steps to Reproduce
Expected behavior
Assume role works properly with an applicable govcloud region. This is occurring because the AWS region being set does not use the region being set as a CLI argument.
Actual Result with Screenshots or Logs
{"timestamp": "2024-06-11 20:04:10,218", "filename": "aws_provider.py:872", "level": "CRITICAL", "module": "aws_provider", "message": "ClientError[855] -- An error occurred (InvalidClientTokenId) when calling the AssumeRole operation: The security token included in the request is invalid"}
How did you install Prowler?
From pip package (pip install prowler)
Environment Resource
EKS
OS used
Linux
Prowler version
Prowler 4.2.4
Pip version
pip 23.0.1
Context
No response
The text was updated successfully, but these errors were encountered: