AWS AmazonECS documentation change
Summary
Added documentation about reverting services from capacity providers back to original launch type and clarified that UpdateService call fails (not will fail) when compatibility validation fails
Security assessment
The changes document how to revert services from capacity providers to launch types and clarify error behavior. No security vulnerabilities, weaknesses, or incidents are mentioned. The change is about service configuration management and error messaging.
Diff
diff --git a/AmazonECS/latest/developerguide/capacity-launch-type-comparison.md b/AmazonECS/latest/developerguide/capacity-launch-type-comparison.md index 335dcd62c..70d703a21 100644 --- a//AmazonECS/latest/developerguide/capacity-launch-type-comparison.md +++ b//AmazonECS/latest/developerguide/capacity-launch-type-comparison.md @@ -0,0 +1,2 @@ +[View a markdown version of this page](capacity-launch-type-comparison.md) + @@ -118,0 +121,18 @@ Instead of migrating between launch types, migrate to the equivalent capacity pr +### Capacity provider to launch type + +Capacity provider to launch type updates are not supported. If you originally created a service with a launch type and then updated the service to use capacity providers, you can revert the service to its original launch type. To revert, pass an empty list as the `capacityProviderStrategy` when you call `UpdateService`. + +JSON: + + + "capacityProviderStrategy": [] + +AWS CLI: + + + --capacity-provider-strategy '[]' + +###### Note + +This only reverts the service to the launch type specified when the service was originally created. You cannot use this method to switch a service to a different launch type. + @@ -121 +141 @@ Instead of migrating between launch types, migrate to the equivalent capacity pr -Task definitions must pass compatibility validation for the target capacity provider. If the `requiresCompatibilities` check fails for the task definition version, the `UpdateService` call will fail. +Task definitions must pass compatibility validation for the target capacity provider. If the `requiresCompatibilities` check fails for the task definition version, the `UpdateService` call fails.