pulumi / pulumi-awsx

AWS infrastructure best practices in component form!
https://www.pulumi.com/docs/guides/crosswalk/aws/
Apache License 2.0
219 stars 104 forks source link

Add support for NAT Gateway Secondary EIPs #1227

Open hgebrael opened 6 months ago

hgebrael commented 6 months ago

Hello!

Issue details

Could you please please add support for Nat Gateways secondary Elastic IPs.

Affected area/feature

mjeffryes commented 6 months ago

Thanks for filing this request @hgebrael.

Just to clarify, you want us to add a flag(?) to the NatGateway resource in awsx-classic that would cause it to create an elastic IP resource and attache it to the NAT Gateway using the SecondaryAllocationIds parameter, correct?

In full transparency, we're not investing much in the resources in the awsx-classic subdirectory, so we'll probably need to do the work to lift NatGateway into the core of AWSX before we add this. However, the good news is that NatGateway is just vanilla Pulumi TS, so you can copy this resource into your own project and add the support there yourself if you'd like.