-
Notifications
You must be signed in to change notification settings - Fork 301
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
Support container dependency in ecs-params.yml #1105
Support container dependency in ecs-params.yml #1105
Conversation
`depends_on` field for services supports defining container dependencies. Added relevant documentation and links.
Manual testingConfiguration
Test commandService was setup using:
Things tested:
|
Is there any progress on this? |
@bpottier if you require to use it, you can compile from this branch. We are using this patch in production without issues. Looks like this project has been abandoned in favor of co-pilot. So not much active people from aws for an upstream merge. |
Thank you. I might just do that. Shame that support has dropped off in favor of co-pilot which isn't even production ready. |
Well that's just nature of software. AWS will have their valid reasons. Let's be grateful that this source code is open and API for this was easy to extend. :) |
Yeah, you're right. |
Hello 👋 !!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thanks very much for this contribution @perfectayush and apologies for the delay in reviewing it!
While @efekarakus comment re: the future of AWS Copilot and the ECS +Compose integrations holds true, we still intend to facilitate community updates like this.
Added support for a
depends_on
field for services in ecs-params.ymlThis field maps to
dependsOn
field in task definition.Tries to address #897 . Not supporting via docker-compose.yml's
depends_on
because there is no 1:1 mapping between ECS and docker-compose concepts. Also it makes more sense to leverage ECS healthchecks condition.Testing
Documentation
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.