mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
* fix(ecs): report serviceConnectConfiguration on the service's deployment CreateService and UpdateService accepted a serviceConnectConfiguration and dropped it. DescribeServices then reported nothing, so a client that sets one saw it missing on every read. AWS's Service shape declares no serviceConnectConfiguration member. The field lives on Deployment, which is where a generated client reads it and where Terraform's aws_ecs_service reads it. Storing it on the service and reporting it on each deployments[] entry matches the model, and a client that reads it back no longer sees a pending change on every plan. The widest createService and updateService overloads take the configuration; the previous signatures delegate to them, so existing callers are unchanged. * fix(ecs): roll the deployment when serviceConnectConfiguration changes Review feedback on #3662. UpdateServiceRequest.serviceConnectConfiguration is documented as "This parameter triggers a new service deployment", and the rollover below only fired on a task-definition change or forceNewDeployment. A Service-Connect-only change therefore reported the new configuration under the old deployment id and skipped SERVICE_DEPLOYMENT_STARTED. updateService now treats a changed configuration as deployment-triggering state, alongside the two conditions already there. An omitted parameter stays a no-op, and resending an identical configuration is not a change. Three tests cover it. A changed configuration rolls the deployment id, an identical one does not, and an update that omits the parameter does not. None of the original four asserted on deploymentId, which is why they passed.