Difference between revisions of "Aws ecs update-service"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
* <code>[[aws ecs]] update-service</code>
 
* <code>[[aws ecs]] update-service</code>
  
Restart ecs services:
+
[[Restart]] ecs services:
 
* <code>[[aws ecs]] update-service --cluster your_cluster_name --service [[your_service-name]] --force-new-deployment</code>
 
* <code>[[aws ecs]] update-service --cluster your_cluster_name --service [[your_service-name]] --force-new-deployment</code>
 
::<code>--foce-new-deployment</code>  can be used to trigger a new [[deployment]] with no service definition changes
 
::<code>--foce-new-deployment</code>  can be used to trigger a new [[deployment]] with no service definition changes

Revision as of 17:33, 1 August 2022

https://docs.aws.amazon.com/cli/latest/reference/ecs/update-service.html

Restart ecs services:

--foce-new-deployment can be used to trigger a new deployment with no service definition changes


Synopsis

update-service
[--cluster <value>]
--service <value>
[--desired-count <value>]
[--task-definition <value>]
[--capacity-provider-strategy <value>]
[--deployment-configuration <value>]
[--network-configuration <value>]
[--placement-constraints <value>]
[--placement-strategy <value>]
[--platform-version <value>]
[--force-new-deployment | --no-force-new-deployment]
[--health-check-grace-period-seconds <value>]
[--enable-execute-command | --disable-execute-command]
[--enable-ecs-managed-tags | --no-enable-ecs-managed-tags]
[--load-balancers <value>]
[--propagate-tags <value>]
[--service-registries <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Related

See also

Advertising: