Terraform module to provide an ECS task definition and optionally an ECS service and a load balancer to run a variety of workloads on ECS.
The module will create:
- ECS task definition
- ECS service (TBD)
- AutoScaling target, policies, and CloudWatch alarms (TBD)
- Required security groups (TBD)
- Application load balancer (TBD)
- Route53 A record (TBD)
By default, this will create a task definition which can be run using the ECS RunTask API.
module "ecs_task" {
source = "git::https://github.com/rearc/terraform-aws-ecs-task.git"
aws_account_id = "123456789012"
region = "us-east-1"
name = "express_api"
image = "bitnami/express"
}