Files
floci/docs
Sam Fakhreddine f30ba77ac0 fix(ec2): answer DescribeTransitGatewayConnects with an empty list (#3274)
* fix(ec2): answer DescribeTransitGatewayConnects with an empty list

LZA's tgw-associations-and-propagations module calls this unconditionally
alongside DescribeTransitGatewayVpcAttachments. floci does not yet support
creating Connect attachments, so the action was entirely unhandled and the
module failed with "Operation DescribeTransitGatewayConnects is not
supported", found while running LZA phase2 against parent 1176.

Since floci has no Connect attachments to return, an empty list is the
wire-faithful answer for every account. Requested attachment ids still
validate against the shared tgw-attach- id namespace: malformed ids reuse
the existing InvalidTransitGatewayAttachmentID.Malformed check, well-formed
but unknown ids get InvalidTransitGatewayConnectID.NotFound.

* test(ec2): cover DescribeTransitGatewayConnects over the Query protocol and make the service hook void

The service method only validates the request; the handler always renders
an empty transitGatewayConnectSet, so returning a List of VPC attachments
suggested a resource type it never produces. It is void now. Two
integration tests drive the action through the EC2 Query dispatch and pin
the response wire shape (EC2 namespace, requestId, empty
transitGatewayConnectSet) and the Malformed / Connect NotFound error codes.
2026-09-09 00:20:28 -05:00
..
2026-03-15 17:43:56 -05:00