A complete application set which applies IAM , created VPC and then launches ECS cluster for a live and running application
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| ecs-cluster-name | The name for the cluster. | string |
"Cactus-ecs-cluster" |
no |
| ecs-key-pair-name | The name for the cluster. | string |
"Cactus" |
no |
| Name | Version |
|---|---|
| aws | n/a |
| template | n/a |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| autoscaling-group-name | The name for the autoscaling group for the cluster. | string |
"Cactus-ecs-asg" |
no |
| desired-capacity | The name for the autoscaling group for the cluster. | number |
3 |
no |
| ecs-cluster-name | n/a | any |
n/a | yes |
| ecs-instance-profile-name | n/a | any |
n/a | yes |
| ecs-instance-role-name | n/a | any |
n/a | yes |
| ecs-key-pair-name | n/a | any |
n/a | yes |
| health-check-grace-period | The name for the autoscaling group for the cluster. | number |
300 |
no |
| image-id | The name for the autoscaling group for the cluster. | string |
"ami-d61027ad" |
no |
| instance-type | The name for the autoscaling group for the cluster. | string |
"t2.medium" |
no |
| launch-configuration-name | The name for the autoscaling group for the cluster. | string |
"Cactus-ecs-launch-configuration" |
no |
| load-balancer-name | The name for the autoscaling group for the cluster. | string |
"Cactus-ecs-load-balancer" |
no |
| max-instance-size | The name for the autoscaling group for the cluster. | number |
5 |
no |
| min-instance-size | The name for the autoscaling group for the cluster. | number |
2 |
no |
| security-group-id | n/a | any |
n/a | yes |
| subnet-id-1 | n/a | any |
n/a | yes |
| subnet-id-2 | n/a | any |
n/a | yes |
| target-group-name | The name for the autoscaling group for the cluster. | string |
"Cactus-ecs-target-group" |
no |
| vpc-id | n/a | any |
n/a | yes |
| Name | Description |
|---|---|
| ecs-load-balancer-name | n/a |
| ecs-target-group-arn | n/a |
| Name | Version |
|---|---|
| aws | n/a |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| ecs-cluster-name | n/a | string |
"Cactus-ecs-cluster" |
no |
| ecs-load-balancer-name | n/a | string |
"Cactus-ecs-load-balancer" |
no |
| ecs-service-name | n/a | string |
"Cactus-ecs-service" |
no |
| ecs-service-role-arn | n/a | string |
"Cactus-ecs-cluster" |
no |
| ecs-target-group-arn | n/a | any |
n/a | yes |
| Name | Version |
|---|---|
| aws | n/a |
No input.
| Name | Description |
|---|---|
| ecs-instance-profile-name | n/a |
| ecs-instance-role-name | n/a |
| ecs-service-role-arn | n/a |
| Name | Version |
|---|---|
| aws | n/a |
No input.
| Name | Description |
|---|---|
| id | n/a |
| security-group-id | n/a |
| subnet1-id | n/a |
| subnet2-id | n/a |
.
├── README.md
├── ec2
│ ├── autoscaling-group.tf
│ ├── elastic-load-balancer.tf
│ ├── launch-configuration.tf
│ ├── user-data.tpl
│ └── variable.tf
├── ecs
│ ├── cluster.tf
│ ├── service.tf
│ ├── task-definition.json
│ ├── task-definition.tf
│ └── variables.tf
├── graph.svg
├── iam
│ ├── ecs-instance-profile.tf
│ ├── ecs-instance-role.tf
│ └── ecs-service-role.tf
├── main.tf
├── variable.tf
└── vpc
├── internet-gateway.tf
├── network-acl.tf
├── route-table.tf
├── security-group.tf
├── subnet.tf
└── vpc.tf
4 directories, 24 files