mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
* fix(ec2): apply DescribeIpamPools filters * fix(ec2): resolve DescribeIpamPools scope filters from the pool owner's IPAM - ipam-scope-type, ipam-scope-arn, ipam-arn and ipam-region now resolve the scope through the pool's own IPAM across account partitions, so a RAM-shared pool described by id matches them. - pool-depth stops at a deleted ancestor instead of failing the request with InvalidIpamPoolId.NotFound; an orphaned pool counts as top-level. - The scope lookup runs only for filters that need it, once per scope per request, so pool-field filters no longer scan the IPAM store. * fix(ec2): log the tolerated NotFound in IPAM pool scope and depth lookups AGENTS.md requires a tolerated exception to be logged. Both catches can only see InvalidIpamId.NotFound / InvalidIpamPoolId.NotFound (create rejects a blank source id), so they stay unnarrowed and log at debug. * refactor(ec2): reuse Ec2Service.matchesTagFilter for IPAM pool tag filters matchesTagFilter holds no instance state, so make it static and package-private and let matchesPoolFilter call it instead of repeating the tag:<key> / tag-key branch. The shared helper also treats a null tag list as no tags, so a pool restored with tags=null no longer fails DescribeIpamPools with a NullPointerException.