aws-ia / taskcat

Test all the CloudFormation things! (with TaskCat)
https://aws-ia.github.io/taskcat/
Apache License 2.0
1.16k stars 213 forks source link

Cannot blacklist AZ usw1-az2 and apne1-az3 #816

Open filuta opened 9 months ago

filuta commented 9 months ago

Describe the bug When I blacklist availability zones usw1-az2 and apne1-az3 (via az_blacklist), validation of templates with taskcat lint fails (the output), because it doesn't match the regex. But without blacklisting the two AZs, my test fails in regions us-west-1 and ap-northeast-1, because the instance type I'm using (m5d.xlarge) is not available in usw1-az2 and apne1-az3 (one of the logs).

To Reproduce

  1. How did you install taskcat? (docker or pip3) pip3
  2. Are you using a profile, an instance role or access keys to run taskcat? profile
  3. Is your AWS environment configured via aws configure? yes

Expected behavior It is possible to blacklist availability zones usw1-az2 and apne1-az3

Version

Additional context It was possible to blacklist the AZs in older versions of taskcat (we were using version 0.9.19). I think it stopped working after these changes were merged. Taskcat config file