-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ec2):
new Instance
fails in lookup Vpc
Selecting by `subnetGroupName` in a looked up VPC may produce 0 subnets on the first run of the app, if the actual lookup hasn't been performed yet. Rather than throwing an exception (which will fail the execution outright and never even get to perform the lookup), add a construct error. On the next run the lookup will have been performed and the validation will no longer fail. Fixes #7580.
- Loading branch information
Showing
2 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters