mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
* feat(ec2): support DescribeIpamScopes CreateIpam already creates the private and public default scopes, but DescribeIpamScopes answered UnsupportedOperation. Terraform's aws_vpc_ipam_pool reads its scope through DescribeIpamScopes before CreateIpamPool, so no IPAM pool could be created. Accepts IpamScopeId.N (and IpamScopeIds.member.N, as DescribeIpams does) and returns InvalidIpamScopeId.NotFound for unknown ids. Filter.N is not supported. * fix(ec2): report scope and IPAM on IPAM pools The IpamPool shape carries ipamScopeArn, ipamScopeType, ipamArn and ipamRegion, but pools were written without them. Terraform's aws_vpc_ipam_pool Read splits ipamScopeArn on "/" and reads ipamScopeType off the pool, so every refresh of a pool broke. They are derived from the pool's scope and its IPAM, and omitted when that scope is no longer visible. * fix(ec2): count IPAM pools per scope in one pass; import XmlPath in test * refactor(ec2): resolve IPAM scope lookup and its not-found error in one place