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 installFor that you may need to install the following tools:
In order to run all checks at any point run the following command:
pre-commit run --all-files| Name | Version |
|---|---|
| terraform | >= 1.5.7 |
| aws | ~>6 |
| Name | Version |
|---|---|
| aws | 6.33.0 |
No modules.
| Name | Type |
|---|---|
| aws_ecs_cluster.cluster | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| additional_tags | (Optional) Additional tags to add to resources. These will be merged with the default tags added by the module. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level. | map(string) |
{} |
no |
| 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) | string |
n/a | yes |
| service_connect_defaults | (Optional) Configures a default Service Connect namespace. | object({ |
null |
no |
| Name | Description |
|---|---|
| ecs_cluster | Values from the created ECS Cluster. |