Open pierskarsenbarg opened 1 year ago
@pierskarsenbarg To make sure I understand the request, you want the .natGateways.strategy
field to default to "None"
if .subnetSpecs[*].type
is awsx.ec2.SubnetType.Public
?
Yes. If you've only got public subnets, you don't have a need for a nat gateway.
Would it make sense to have NAT gateway default to Single only if at least one Private network is specified, otherwise it could be None, right?
What happened?
Trying to create a VPC with a public subnet in one AZ
Steps to reproduce
Code:
Expected Behavior
If I've only got public subnets, I don't need a NATGateway
Actual Behavior
Error message:
if I add in a strategy it works:
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).