mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
ListInstanceFleets wrote no InstanceTypeSpecifications: the fleet kept only the names of the instance types it was created with. The Terraform AWS provider reads instance_type_configs back from that member, a ForceNew set in both aws_emr_cluster and aws_emr_instance_fleet, so a fleet cluster read back empty after apply and every later plan replaced it. A fleet keeps the InstanceTypeConfigs it was given, from RunJobFlow and AddInstanceFleet, and ListInstanceFleets returns each as the InstanceTypeSpecification it describes: its type, bid price, custom AMI, priority and configurations as given, a WeightedCapacity of 1 where it sets none and a BidPriceAsPercentageOfOnDemandPrice of 100 where it sets neither bid price, the defaults the API reference gives for both, and its EbsConfiguration as one EbsBlockDevice per volume. The reference names no devices, so they are /dev/sdb, /dev/sdc and on. A fleet stored before this has its instance types alone, with the same defaults.