provider-jet-aws icon indicating copy to clipboard operation
provider-jet-aws copied to clipboard

Add ability to reference natGatewayIds in Routes and Routetables

Open AbrohamLincoln opened this issue 2 years ago • 0 comments

What problem are you facing?

Adding routes to Nat Gateways is difficult in a composite resource definition. The only approach I can come up with currently is to publish the natGateway Id to the status, then patch the ID into a route.

Adding routes to Internet Gateways in a composite resource definition is less difficult, but could be simplified. You can create an empty route table, then create a route with the gatewayIdRef and routeTableRef.

How could Crossplane help solve your problem?

Add natGatewayIdRef, natGatewayIdSelector, gatewayIdRef, and gatewayIdSelector to the routetables CRD. This would allow users to create the route table and route in one definition while referencing the nat or internet gateway

Add natGatewayIdRef and natGatewayIdSelector to the routes CRD. This would allow users to create routes with references to nat gateways.

AbrohamLincoln avatar Sep 22 '22 15:09 AbrohamLincoln