taskcat/_cli_modules/delete.py [107:114]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @staticmethod
    def _validate_regions(region_string):
        regions = region_string.split(",")
        for region in regions:
            if region not in REGIONS:
                LOG.error(f"Bad region detected: {region}")
                sys.exit(1)
        return regions
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



taskcat/_cli_modules/deploy.py [141:148]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @staticmethod
    def _validate_regions(region_string):
        regions = region_string.split(",")
        for region in regions:
            if region not in REGIONS:
                LOG.error(f"Bad region detected: {region}")
                sys.exit(1)
        return regions
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



