Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vpc: throw an error if subnets() call doesn't match any subnets #1239

Closed
rix0rrr opened this issue Nov 23, 2018 · 1 comment
Closed

vpc: throw an error if subnets() call doesn't match any subnets #1239

rix0rrr opened this issue Nov 23, 2018 · 1 comment
Assignees
Labels
@aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud feature-request A feature should be added or improved.

Comments

@rix0rrr
Copy link
Contributor

rix0rrr commented Nov 23, 2018

If there are no subnets of a certain type, the subnets() call returns an empty array. An error probably makes more sense. This would have saved Clare from some confusing situations.

@rix0rrr rix0rrr added enhancement @aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud labels Nov 23, 2018
@srchase srchase added feature-request A feature should be added or improved. and removed enhancement labels Jan 3, 2019
@rix0rrr
Copy link
Contributor Author

rix0rrr commented Sep 27, 2019

Already implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-ec2 Related to Amazon Elastic Compute Cloud feature-request A feature should be added or improved.
Projects
None yet
Development

No branches or pull requests

2 participants