SAM is currently designed to be used with Lambda for creating serverless applications.
But what about Fargate for ECS? This service allows you to run docker applications serverless-ly, but It requires an obscene amount of complicated boilerplate CFN to get even the simplest web application running.
I think it would be beneficial to have a virtual resource, e.g. AWS::Serverless::FargateApp that implicitly generates a service, task definition, and all associated public-facing load balancer resources if necessary. To keep things simple, a FargateApp will have only one container definition.
I can help contribute a spec if this idea is accepted.
SAM is currently designed to be used with Lambda for creating serverless applications.
But what about Fargate for ECS? This service allows you to run docker applications serverless-ly, but It requires an obscene amount of complicated boilerplate CFN to get even the simplest web application running.
I think it would be beneficial to have a virtual resource, e.g.
AWS::Serverless::FargateAppthat implicitly generates a service, task definition, and all associated public-facing load balancer resources if necessary. To keep things simple, aFargateAppwill have only one container definition.I can help contribute a spec if this idea is accepted.