mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
* fix(ec2): record EbsOptimized from RunInstances RunInstances dropped EbsOptimized, so an aws_instance with ebs_optimized = true read back false and Terraform replaced it on every plan. The request's value, else the launch template's, is now recorded on each launched instance. It is applied after the launch on the RunInstances API path only; instances launched by CloudFormation, Auto Scaling or Fleet still report false (documented). * test(ec2): clean up the launch template and each instance if a launch fails The launch-template case launched both instances before its cleanup scope opened, so a failed launch leaked the template and, on the second launch, the first instance.