Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start ECS - allow for variable desiredCount #60

Open
dovregubben opened this issue May 3, 2024 · 0 comments · May be fixed by #61
Open

Start ECS - allow for variable desiredCount #60

dovregubben opened this issue May 3, 2024 · 0 comments · May be fixed by #61

Comments

@dovregubben
Copy link

SUMMARY

Currently, the ecs handler starts a fixed number of 1 tasks (desired count).
Yet, in many cases, a variable number of tasks needs to be started.

Proposal:
Add new environment variable (e.g. ECS_TASK_DESIRED_COUNT) which defaults to 1, but may be set excplicitly to any number > 1

ISSUE TYPE
  • Feature Idea
Additional context

function start (ecs_handlyer.py) passes desiredCount=1 to update_service()

...
def start(self, aws_tags: List[Dict]) -> None:
...
  self.ecs.update_service(
      cluster=cluster_name, service=service_name, desiredCount=1
  )
...
@dovregubben dovregubben linked a pull request May 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant