DataDog / stratus-red-team

:cloud: :zap: Granular, Actionable Adversary Emulation for the Cloud
https://stratus-red-team.cloud
Apache License 2.0
1.67k stars 200 forks source link

Implement better error message when the AWS region or AWS default region is missing #507

Closed christophetd closed 3 months ago

christophetd commented 3 months ago

(closes #506)

new output:

2024/04/04 12:17:34 Checking your authentication against AWS
2024/04/04 12:17:34 you are not authenticated against AWS, *or* you have not set your region.

Troubleshooting:
1. Are you authenticated against AWS?
2. Do you have a region or default region set, in your AWS configuration file or in your environment? (AWS_REGION or AWS_DEFAULT_REGION)