Files
floci/src
lex00 3baf4f4849 feat(ec2): return an empty set for DescribeVpnGateways (#1975)
* feat(ec2): return an empty set for DescribeVpnGateways

There is no VPN gateway model, so an empty vpnGatewaySet is AWS-accurate
for an account without VPN gateways. Unblocks the CDK CLI's VPC context
provider (Vpc.fromLookup), which always issues this describe and aborts
the whole lookup on UnsupportedOperation.

Fixes #1974

* test(ec2): assert the vpn gateway set is empty, not merely present

The substring check passed for any response containing <vpnGatewaySet, including
a non-empty one, so it did not pin the empty-result contract. Uses the item
count, matching the other empty EC2 collection tests.
2026-08-01 16:20:13 -05:00
..