How can we improve the module?
I'm running an ASP.Net in ECS and as highlighted in this article https://aws.amazon.com/blogs/developer/configuring-net-garbage-collection-for-amazon-ecs-and-aws-lambda/ i need to set the container CPU and memory size to avoid OOM.
hence i would need to either be able to inject those cpu and memory values to the container_definiton
container_definitions = jsonencode([
{
name = "first"
image = "service-first"
cpu = 10
memory = 512
essential = true
portMappings = [
{
containerPort = 80
hostPort = 80
}
]
}
or at least have those values set by default with the values configured at the task_definition level
Code to be updated for default being same as task_defintion :
Feature request
or at least have those values set by default with the values configured at the task_definition level Code to be updated for default being same as task_defintion :
And solution with new specific variable :