taskcat
taskcat copied to clipboard
taskcat --profile $AWS_PROFILE test clean -> Failed to fetch stacks for region us-east-1 using profile default <class 'botocore.exceptions.NoCredentialsError'> Unable to locate credentials
Describe the bug
Ran taskcat --profile $AWS_PROFILE test clean <project-name or ALL>. It did not delete ANY of the CloudFormation Stacks (both successful & failed).
- Although only 2 regions enabled in the 1 test, it tried running against all (21) AWS Commercial Regions. Got below error for all regions:
-
[WARNING] : Failed to fetch stacks for region us-east-1 using profile default <class 'botocore.exceptions.NoCredentialsError'> Unable to locate credentials
-
To Reproduce Steps to reproduce the behavior:
- Are you testing a QuickStart or Custom template?
No - Attach or link a copy of the template if possible (remove any sensitive info)
- Provide the parameters that you passed. (remove any sensitive info)
- How did you install taskcat? (docker or pip3)
pipx - Are you using a profile, an instance role or access keys to run taskcat?
profile - Is your AWS environment configured via
aws configure?yes
Expected behavior
- I was expecting that it would delete the stacks in all AWS regions.
- FYI,
taskcat --profile $AWS_PROFILE test runworks, so there's no credentials problem, but rather an issue withtaskcat --profile $AWS_PROFILE test cleannot working properly.
**Version (Please make sure you are running the latest version of taskcat)
- Taskcat Version:
0.9.23 - Python3 Version:
3.8.7