Replies: 1 comment 1 reply
|
Yes. Even if Example JSON for { Run it like this: aws ecs update-service --cli-input-json file://update.json Alternatively, if you prefer to keep your JSON unchanged, you can set it as a CLI override alongside the JSON: aws ecs update-service To confirm the setting after the update: aws ecs describe-services Notes: This setting does not trigger a new deployment, and for updates the default is “keep existing value”; if it was never set before, ECS treats it as DISABLED unless you explicitly set it to ENABLED. |
Uh oh!
There was an error while loading. Please reload this page.
I have a variety of ECS services that I manage with JSON templates. CI runs these and updates my services using
aws ecs update-service --cli-input-json ...I would like to enable Availability Zone Rebalancing. I see
availabilityZoneRebalancingas an option in--generate-cli-skeletonforaws ecs create-service, but no such option foraws ecs update-service, despiteaws-ecs update-servicesupporting--availability-zone-rebalancingas a flag.Is there a way to manage this setting via JSON for an existing ECS service?
All reactions