amplify-education / serverless-vpc-discovery

Serverless plugin for discovering VPC / Subnet / Security Group configuration by name.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: wildcardMatches fails regex parsing for valid subnet tags

todd1uphealth opened this issue · comments

For subnets/etc that have tags with other regex key words (like parenthesis) in tag values affect parsing.

For example:

custom:
  vpcDiscovery:
    vpcName: 'myVpc'
    subnets:
      - tagKey: Name
        tagValues:
          - 'MySubnet (Primary)'

will not match a vpc/subnet with the tag Name='MySubnet (Primary)