awslabs / aws-support-tools

Tools and sample code provided by AWS Premium Support.
https://aws.amazon.com/premiumsupport/
Apache License 2.0
1.45k stars 798 forks source link

MWAA verify_env script has incorrect profile name validation #203

Open daniel-bowman-nationwide opened 2 years ago

daniel-bowman-nationwide commented 2 years ago

https://github.com/awslabs/aws-support-tools/blob/2a9b97097a0851b674905e475958904ad6204d34/MWAA/verify_env/verify_env.py#L91

Profile name validation does not include all allowed profile name characters. The missing character that broke for me is -. There may be others.