You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Going from LaunchType to CapacityProviderStrategy on an ECS Service that has a defined ServiceName fails through Cloudformation because it tries to recreate the Service.
The same action can be performed in-place through the AWS ECS web console without any issue.
Recreating the resource is unnecessary and makes it impossible to execute this change through Cloudformation short of doing an unnecessary rename operation.
Expected Behavior
Cloudformation should reconfigure the ECS Service in place and not try to recreate it.
Observed Behavior
Cloudformation tries to recreate the ECS Service which then fails because the name is statically defined.
Test Cases
define an ECS Service with a fixed name using FARGATE Launch Type
Resource handler returned message: "Resource of type 'AWS::ECS::Service' with identifier 'myservice' already exists." (RequestToken: XYZ, HandlerErrorCode: AlreadyExists)
Executing the same change via ECS Console works fine.
Other Details
No response
The text was updated successfully, but these errors were encountered:
Name of the resource
AWS::ECS::Service
Resource Name
No response
Issue Description
Going from
LaunchType
toCapacityProviderStrategy
on an ECS Service that has a definedServiceName
fails through Cloudformation because it tries to recreate the Service.The same action can be performed in-place through the AWS ECS web console without any issue.
Recreating the resource is unnecessary and makes it impossible to execute this change through Cloudformation short of doing an unnecessary rename operation.
Expected Behavior
Cloudformation should reconfigure the ECS Service in place and not try to recreate it.
Observed Behavior
Cloudformation tries to recreate the ECS Service which then fails because the name is statically defined.
Test Cases
FARGATE
Launch TypeLaunchType: FARGATE
and addObserved error:
Executing the same change via ECS Console works fine.
Other Details
No response
The text was updated successfully, but these errors were encountered: