A terraform module to provide ECS clusters in AWS.
name- ECS cluster namekey_namekey_pathsubnet_idvpc_id
region- AWS Region - defaults to us-east-1servers- Number of ECS Servers to start in the cluster - defaults to 2instance_type- AWS instance type - defaults to t2.micro
module "ecs-cluster" {
source = "github.com/tfhartmann/tf_aws_ecs"
cluster_name = "infra-services"
servers = 1
subnet_id = "subnet-6e101446"
vpc_id = "vpc-99e73dfc"
}
cluster_id- ECS Cluster id for use in ECS task and service definitions