diff --git a/pkg/config/application_ecs.go b/pkg/config/application_ecs.go index 6071c5566b..4036ca30d6 100644 --- a/pkg/config/application_ecs.go +++ b/pkg/config/application_ecs.go @@ -73,6 +73,11 @@ type ECSDeploymentInput struct { // - SERVICE_DISCOVERY - The service is accessed via ECS Service Discovery. // Default is ELB. AccessType string `json:"accessType,omitempty" default:"ELB"` + + // Whether to ignore desiredCount of the service definition when updating the service. + // If this is set as true, the desiredCount will be updated when creating the service, but will not be updated when updating the service. + // Default is false. + IgnoreDesiredCountOnUpdate *bool `json:"ignoreDesiredCountOnUpdate,omitempty" default:"false"` } func (in *ECSDeploymentInput) IsStandaloneTask() bool {