[ecs-service-extensions] look up or import an environment #10931
Labels
@aws-cdk/aws-ecs
Related to Amazon Elastic Container
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
I'd like to use
ServiceDescription
to create services for an imported ECS cluster.Use Case
I need to hook into a cluster from another stack and create services to run on that cluster. We do this because we're sharing EC2 capacity between projects to reduce costs. I would like to create services using the
ServiceDescription
paradigm. However, there is currently no support forICluster
.Proposed Solution
I suggest that we introduce an
IEnvironment
interface and implement anEnvironment.fromEnvironmentAttributes()
method.Other
I've created a PR with a more detailed solution.
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: