Skip to content

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

Description

@filuta

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

  • Taskcat Version 0.9.41
  • Python Version 3.10.12

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions