[Lambda Function] subnet selection tries to evaluate subnet AZ even if AZ filtering is not specified #8301
Labels
@aws-cdk/aws-ec2
Related to Amazon Elastic Compute Cloud
@aws-cdk/aws-lambda
Related to AWS Lambda
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
in-progress
This issue is being actively worked on.
needs-triage
This issue or PR still needs to be triaged.
p2
When I try to use the Subnet.FromSubnetId method to construct a SubnetSelection, I get an error stating that I must add the availabilityZone. This does not really make any sense since I am specifying the subnet and not trying to filter anything?
Reproduction Steps
Error Log
Environment
Other
If I use the following code, it works, but it feels a bit ugly and hacky
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: