This Terraform module creates an AWS ECS cluster.
Check valid versions on:
- Github Releases: https://github.com/cn-terraform/terraform-aws-ecs-cluster/releases
- Terraform Module Registry: https://registry.terraform.io/modules/cn-terraform/ecs-cluster/aws
Pleas run this command right after cloning the repository.
pre-commit install
For that you may need to install the folowwing tools:
In order to run all checks at any point run the following command:
pre-commit run --all-files
Name | Version |
---|---|
terraform | >= 0.13 |
aws | >= 4 |
Name | Version |
---|---|
aws | 5.15.0 |
No modules.
Name | Type |
---|---|
aws_ecs_cluster.cluster | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
configuration | (Optional) The execute command configuration for the cluster. | object({ |
null |
no |
containerInsights | (Optional) Enables container insights if true | bool |
false |
no |
name | (Required) Name of the cluster (up to 255 letters, numbers, hyphens, and underscores). | any |
n/a | yes |
service_connect_defaults | (Optional) Configures a default Service Connect namespace. | object({ |
null |
no |
tags | Resource tags | map(string) |
{} |
no |
Name | Description |
---|---|
aws_ecs_cluster_cluster_arn | The Amazon Resource Name (ARN) that identifies the cluster |
aws_ecs_cluster_cluster_id | The Amazon ID that identifies the cluster |
aws_ecs_cluster_cluster_name | The name of the cluster |