mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
* fix(ec2): add Volume throughput, DescribeAddressesAttribute, and IAM instance profile parity Three EC2 read-path gaps broke Terraform/OpenTofu apply cycles: throughput to the Volume model, parsed it in CreateVolume, and emitted it in CreateVolume/DescribeVolumes. gp3 defaults to 125 MiB/s (matching AWS); other volume types leave it null. the VPC module's aws_eip read cycle. Implemented the operation (returns allocationId + publicIp per AddressAttribute) and added it to the EC2 action allowlist. instance was launched with one, and DescribeIamInstanceProfileAssociations returned UnsupportedOperation — causing perpetual Terraform drift then a hard failure. instanceXml now emits <iamInstanceProfile> (arn + id), and DescribeIamInstanceProfileAssociations is implemented with instance-id filter and AssociationId lookup. Profile and association ids are derived deterministically from the instance id so repeated describes are stable. Verified against AWS SDK v2 shapes (Volume.Throughput, AddressAttribute, IamInstanceProfileAssociation). * fix: incorrect exception throw