This module helps you create a fargate ECS cluster. It includes the following:
- ECS cluster
- cloudwatch logs
This module requires 2 arguments.
cluster_name
simply the name of the clusterlog_group
log group name
module "terraform-aws-ecs-fargate-cluster" {
source = "git@github.com:elastic2ls/terraform-aws-ecs-fargate-cluster.git"
cluster_name = "fargate-ecs"
log_group = "fargate-ecs-log-group"
}
The module can also be found in the Terraform Registry https://registry.terraform.io/modules/elastic2ls-com/ecs-fargate-cluster/aws/latest.