aws-ec2: support subnet group names on fromVpcAttributes #31880
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
When importing a VPC I'd like to support names for subnets.
Use Case
When multiple subnet groups for one network type (for example ISOLATED) exist I want to select a certain group using subnet selection.
Proposed Solution
extend fromVpcAttributes -> VpcAttributes so an import can look like this:
Other Information
Right now it's only possible to import up to 3 different subnet groups, however there are instances where I want to have more subnet groups.
Acknowledgements
CDK version used
2.163.1
Environment details (OS name and version, etc.)
The text was updated successfully, but these errors were encountered: