Terraform module which creates ECS cluster resources on AWS.
Deprecated This module is deprecated from version 0.3.0 . Please use terraform-aws-modules/ecs/aws module. From version 0.3.0 this module only includes some submodules.
module "php" {
source = "rabiloo/ecs/aws"
version = "~>0.2.3"
name = "app-ecs-cluster"
capacity_providers = ["FARGATE", "FARGATE_SPOT"]
default_capacity_provider_strategy = [
{ capacity_provider = "FARGATE" },
]
tags = {
Owner = "user"
Service = "app-name"
}
}| Name | Version |
|---|---|
| terraform | >=1.2 |
| aws | >=4.0 |
| Name | Version |
|---|---|
| aws | 5.24.0 |
No modules.
| Name | Type |
|---|---|
| aws_ecs_cluster.this | resource |
| aws_ecs_cluster_capacity_providers.this | resource |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| name | Name of the ECS cluster | string |
n/a | yes |
| capacity_providers | List of short names of one or more capacity providers to associate with the cluster. Valid values also include FARGATE and FARGATE_SPOT. | list(string) |
[] |
no |
| container_insights | Controls if ECS Cluster has container insights enabled | bool |
false |
no |
| default_capacity_provider_strategy | The capacity provider strategy to use by default for the cluster. Can be one or more. | list(map(any)) |
[] |
no |
| tags | A map of tags to add to ECS Cluster resource | map(string) |
{} |
no |
| Name | Description |
|---|---|
| ecs_cluster_arn | The ARN of the ECS Cluster |
| ecs_cluster_id | The ID of the ECS Cluster |
| ecs_cluster_name | The name of the ECS cluster |
- Install
terrform,tflint,terraform-docsandmake - Using make
make help
All code contributions must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.
Fork the project, create a feature branch, and send a pull request.
If you would like to help take a look at the list of issues.
This project is released under the MIT License.
Copyright © 2024 Rabiloo Co., Ltd
Please see License File for more information.