mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 06:00:46 -05:00
CreateService and UpdateService carry the members AWS documents on the Service shape, rather than dropping them: deploymentConfiguration, serviceRegistries, platformVersion and platformFamily, enableExecuteCommand, enableECSManagedTags, propagateTags, healthCheckGracePeriodSeconds, the role, and anything else the request sent, which round-trips verbatim. A client that reads back what it wrote sees no drift. UpdateService rolls a new deployment only for the members UpdateService documents as starting new tasks, a changed network configuration, load balancers, service registries or platformVersion, and applies the rest in place. An update replaces only the members it names, so a service created with placementConstraints and updated with placementStrategy alone keeps its constraints; a member the update does name is replaced outright, which is how an empty array clears one. A service role is accepted only where AWS accepts one: with a load balancer, and not with awsvpc networking. Capacity provider management follows the documented rules. A name is at most 255 letters, numbers, underscores and hyphens and is never prefixed with aws, ecs or fargate. A provider reports its ARN, its type and the autoScalingGroupProvider it was created with. DescribeCapacityProviders gates tags behind include: ["TAGS"] and reports an unresolvable name as a MISSING failure. DeleteCapacityProvider refuses the reserved FARGATE and FARGATE_SPOT providers, one still attached to a cluster and one still named in an active service's capacity provider strategy, and reports the deleted one through updateStatus so the SDK is never handed an unmappable CapacityProviderStatus. Split out of the Fargate launch surface PR, which keeps the capacity provider strategy distribution and the service task launch.