ecs-cluster
azavea/ecs-cluster/aws
A Terraform module to create an Amazon Web Services (AWS) EC2 Container Service (ECS) cluster.
Install
README
terraform-aws-ecs-cluster  A Terraform module to create an Amazon Web Services (AWS) EC2 Container Service (ECS) cluster. Table of Contents Usage Auto Scaling Variables Outputs Usage This module creates a security group that gets associated with the launch template for the ECS cluster Auto Scaling group. By default, the security group contains no rules. In order for network traffic to flow egress or ingress (including communication with ECS itself), you must associate all of the appropriate aws_security_group_rule resources with the container_instance_security_group_id module output. See below for an example. ``hcl data "template_file" "container_instance_cloud_config" { template = "${file("cloud-config/container-instance
Inputs (25)
| Name | Type | Description | Default |
|---|---|---|---|
| vpc_id | string | required | |
| subnet_ids | list(string) | required | |
| key_name | string | required | |
| cloud_config_content | string | required | |
| cluster_name | string | "" | |
| autoscaling_group_name | string | "" | |
| cpu_credit_specification | string | "standard" | |
| desired_capacity | string | "1" | |
| lookup_latest_ami | bool | false | |
| instance_type | string | "t2.micro" | |
| cloud_config_content_type | string | "text/cloud-config" | |
| health_check_grace_period | string | "600" | |
| environment | string | "Unknown" | |
| ecs_for_ec2_service_role_name | string | "" | |
| ami_owners | list | [
"self",
"amazon",
"aws-marketpla | |
| enabled_metrics | list(string) | [
"GroupMinSize",
"GroupMaxSize",
| |
| ami_id | string | "ami-6944c513" | |
| root_block_device_size | string | "8" | |
| detailed_monitoring | bool | false | |
| min_size | string | "1" | |
| max_size | string | "1" | |
| project | string | "Unknown" | |
| security_group_name | string | "" | |
| ecs_service_role_name | string | "" |
Outputs (8)
container_instance_security_group_idcontainer_instance_ecs_for_ec2_service_role_nameecs_service_role_namecontainer_instance_autoscaling_group_nameecs_service_role_arncontainer_instance_ecs_for_ec2_service_role_arnidnameResources (7)
Topics & Tags
Details
Similar packages
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,