Skip to content

Commit

Permalink
add a flag: ignoreDesiredCountOnUpdate
Browse files Browse the repository at this point in the history
Signed-off-by: t-kikuc <[email protected]>
  • Loading branch information
t-kikuc committed Jul 8, 2024
1 parent 713fb03 commit 6b2af75
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/config/application_ecs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6b2af75

Please sign in to comment.