Is there an example anywhere of aws VPC with publi...
# general
a
Is there an example anywhere of aws VPC with public/private subnets spanning multiple AZs in Pulumi?
w
The
awsx.ec2.Vpc
component can take care of creating all the various configurations of VPCs - that might be worth checking out.
a
Ah thanks!!
Also found this guy: https://github.com/pulumi/pulumi-awsx/blob/master/nodejs/awsx/network.ts Which would be better to use? Or better supported?
w
The
Vpc
component actually subsumes the older
Network
. The latter is noted at deprecated at https://github.com/pulumi/pulumi-awsx/blob/master/README.md.
a
Ah got it, thanks!!
Is there an example somewhere of a VPC with multiple pub/priv subnets over multiple AZs using the
awsx.ec2.Vpc
module?
Nevermind! The Vpc module is pretty intuitive. Very nice abstraction level you folks have going there 🙂
Just on initial entry into the module i was confused as to why it was put under
ec2
other than that, awesome stuff.
w
Yes - this namespacing is due to the (largely historical) association of the underlying networking resources in AWS into the ec2 namespace. But agreed that as you move to higher level abstractions this becomes less obvious. Something to consider for future updates to namespace structure here.