-
Notifications
You must be signed in to change notification settings - Fork 392
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
different environment variable for a subset of the replicas in ECS #5780
Comments
Hi @faisalil! You can configure env vars in the manifest for each worker service: https://aws.github.io/copilot-cli/docs/manifest/worker-service/#variables You can configure the subscriptions in the manifests: https://aws.github.io/copilot-cli/docs/manifest/worker-service/#subscribe See more about worker services here: https://aws.github.io/copilot-cli/docs/concepts/services/#worker-service Hope this helps! |
@huanjani : I am not using AWS queues, my question is simple: can I have a subset of the replicas in 1 service have different env variables than other ones? |
Hello,
one service I have on ECS is called "workers", currently, all those workers listen to the same queue of tasks that we have. I have 3 replicas.
I want to do a change and make 2 of the machines listen to 1 queue and the other machine listen to a new queue.
What I need to to spin up 2 replicas with a different environment variables than the other machine. I want to avoid creating new service since there is just a lot of env variables and configs that I don't want to change.
The text was updated successfully, but these errors were encountered: