ecs
BrynardSecurity-terraform/ecs/aws
Terraform module which creates AWS ECS resources πΊπ¦
Install
README
AWS Elastic Container Service (ECS) Terraform module Terraform module which creates ECS resources on AWS. This module focuses purely on ECS and nothing else. Therefore only these resources can be created with this module: - ECS - IAM However, having said the above to have a proper ECS cluster up and running multiple resources are needed. In most cases creating these resources is heavily opinionated and or context-bound. That is why this module does not create these resources. But you still need them to have a production ready environment. Therefore the example area shows how to create everything needed for a production environment. Usage ``hcl module "ecs" { source = "terraform-aws-modules/ecs/aws" name = "my-ecs" container_insights = true capacity_providers = ["FARGATE", "FARGATE_SPOT"] d
Inputs (6)
| Name | Type | Description | Default |
|---|---|---|---|
| name | string | Name to be used on all the resources as identifier, also the name of the ECS clu | required |
| default_capacity_provider_strategy | list(map(any)) | The capacity provider strategy to use by default for the cluster. Can be one or | [] |
| container_insights | bool | Controls if ECS Cluster has container insights enabled | false |
| tags | map(string) | A map of tags to add to ECS Cluster | {} |
| create_ecs | bool | Controls if ECS should be created | true |
| capacity_providers | list(string) | List of short names of one or more capacity providers to associate with the clus | [] |
Outputs (3)
ecs_cluster_id β ID of the ECS Clusterecs_cluster_arn β ARN of the ECS Clusterecs_cluster_name β The name of the ECS cluster