We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to use ECS daemon, i get an error saying
The daemon scheduling strategy does not support a desired count for services. Remove the desired count value and try again
When i do not have a specified DesiredCount.
new ecs.Ec2Service(parent, "EcsService", { cluster: ..., taskDefinition: ..., daemon: true, });
Adds DesiredCount: 1 to cloud formation yml
DesiredCount: 1
The text was updated successfully, but these errors were encountered:
resolved by doing this
const service = new ecs.Ec2Service(parent, "EcsService", { cluster: ..., taskDefinition: ..., daemon: true, maximumPercent: 100 }); const resource = service.findChild("Service") as any; resource.addPropertyDeletionOverride('DesiredCount');
Sorry, something went wrong.
Thanks for reporting!
fix(aws-ecs): don't emit DesiredCount in daemon mode
e4396a5
When configuring a service in Daemon mode, DesiredCount should not be emitted. Fixes #1197.
fix(aws-ecs): don't emit DesiredCount in daemon mode (#1199)
7908de4
Successfully merging a pull request may close this issue.
When trying to use ECS daemon, i get an error saying
When i do not have a specified DesiredCount.
Adds
DesiredCount: 1
to cloud formation ymlThe text was updated successfully, but these errors were encountered: