-
Notifications
You must be signed in to change notification settings - Fork 272
Description
Is your feature request related to a problem?
Some controllers have lists of structs which containing references to other resources. These are currently not supported within the resource reference generator, nor are they supported by the runtime resource reconciler.
For example, the EC2 controller contains a list of Routes
within the RouteTable
CRD. Each of these is taken from the CreateRouteInput
struct. These contain fields like NatGatewayId
which would be used to reference an ACK NATGateway
resource. There may be other examples of this happening natively (not within a custom field), but I haven't stumbled across any lately.
Describe the solution you'd like
I should be able to specify a nested field path that points to a field within a struct that's an element of a slice, where the generator should properly transform this into a resource reference field. The runtime reconciler should be able to find these references and resolve them accordingly.