eddmann / serverless-fargate

Maintain long-running Fargate ECS tasks within your Serverless project
53 stars 22 forks source link

Overriding containerDefinitions? #18

Closed lkolchin closed 2 years ago

lkolchin commented 2 years ago

It'd be nice to have an option to override containerDefinitions config:

{
    "containerDefinitions": [
        {
            "linuxParameters": {
                "initProcessEnabled": true
            }
        }
    ],
    "family": "ecs-exec-task"
}

Or maybe there is already such an option that I'm missing?

eddmann commented 2 years ago

Hey, this should now be supported in the latest version https://github.com/eddmann/serverless-fargate/releases/tag/0.0.8, you can now supply custom CF resource properties for the task, container and service level 😄