Add a possibility to specify security groups names
Add backward compatibility with version 2.x
With that feature, we can setup config for a specific tag name or specify a few tags for searching ids.
Example of the new structure:
vpcDiscovery:
vpcName: '${opt:env}'
subnets: # optional if `securityGroups` option is specified
- tagKey: <tag_name>
tagValues:
- '${opt:env}_<name of subnet>'
securityGroups: # optional if `subnets` option is specified
- tagKey: <tag_name> # optional if `names` option is specified
tagValues: # optional if `names` option is specified
- '${opt:env}_<name of subnet>'
- names: # optional if `tagKey` and `tagValues` are specified
- '${opt:env}_<name of security group>'
With that feature, we can setup config for a specific tag name or specify a few tags for searching ids.
Example of the new structure: