Terraform module which provides an ECS cluster powered by AWS Fargate.
module "ecs_cluster" {
source = "brunordias/ecs-cluster/aws"
version = "~> 2.0.0"
name = "terraform-ecs-test"
capacity_providers = ["FARGATE", "FARGATE_SPOT"]
default_capacity_provider_strategy = {
capacity_provider = "FARGATE_SPOT"
weight = 5
base = 1
}
container_insights = "enabled"
tags = {
environment = "development"
}
}
Name | Version |
---|---|
terraform | >= 0.13.1 |
aws | >= 3.74.0 |
Name | Version |
---|---|
aws | >= 3.74.0 |
No modules.
Name | Type |
---|---|
aws_ecs_cluster.main | resource |
aws_ecs_cluster_capacity_providers.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
capacity_providers | List of one or more capacity providers to associate with the cluster. Valid values also include FARGATE and FARGATE_SPOT. | list(any) |
[ |
no |
container_insights | Enable Container Insights. Value values are enabled and disabled. | string |
"disabled" |
no |
default_capacity_provider_strategy | The default capacity provider strategy configuration block. | map(any) |
null |
no |
name | The name of the cluster. | string |
n/a | yes |
tags | A mapping of tags to assign to all resources. | map(string) |
{} |
no |
Name | Description |
---|---|
id | The Amazon Resource Name (ARN) that identifies the cluster. |