Using ec2.Vpc with ipamPools #20437
Replies: 1 comment 2 replies
-
The unrequired property of any These properties won't be defined because our Cfn resources are just copies of the resources CloudFormation has, so there's no additional functionality we provide. They don't give us any way to reference the cidr, so we can't do anything directly with this resource To get the cidr from this allocation, you could create a custom resource which makes the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to use ec2.Vpc with IPAM.
This is what I came up with. Please go kind on my typescripting, i'm 1 week into it, but i'd love your comments on this.. Its intended to build a Transit Gateway, VPC + Subnets. ( this will get changed as its clear i'll end up with far too many resources in a single stack. ) but for the time being..
However this did'tn turn out as expected, when synthed, i get the default ip address's in my template. How could i got about this?
I'm first requesting a Cidr block, ( ec2.CfnIPAMAllocation )
and then trying to use it here.
When this synths.. I dont' get refs in the VPC's i get absolute IP address's, with the defaults...
like this..
My entire stack code is here.
Beta Was this translation helpful? Give feedback.
All reactions