Is it possible to route a private subnet through a...
# aws
g
Is it possible to route a private subnet through a NAT Gateway to an IGW using the crosswalk
api-gateway
provider? Or will I have to create all the resources manually?
b
So you want to go
private subnet -> NAT gateway -> IGW
? Where does the api gateway fit in?
But yes if you use the vpc resource that you linked to, if you add in a private subnet (https://www.pulumi.com/registry/packages/awsx/api-docs/ec2/vpc/#subnetspecs_nodejs) then you can use the natgateway input to create natgateways. Then we do all the set up for you
g
Hi @brave-planet-10645, thanks for your help. It turns out there is actually no explicit linkage required between a NAT gateway and IGW in AWS. It 'just works'.
Also my mistake I meant the crosswalk vpc provider, not
api-gateway
that was a typo. Anyway, it's all working. Thank you