ECS Service - Terraform Module
No requirements.
Name | Version |
---|---|
aws | n/a |
No Modules.
Name |
---|
aws_alb_target_group |
aws_ecs_service |
aws_ecs_task_definition |
aws_lb_listener_rule |
aws_route53_record |
aws_security_group |
Name | Description | Type | Default | Required |
---|---|---|---|---|
alb_dns_name | ALB DNS Name | string |
n/a | yes |
alb_listener | ALB Listener Service rule should be applied for | string |
n/a | yes |
alb_security_group_id | Attached ALB Security Group ID to allow inbound traffic from | string |
n/a | yes |
alb_zone_id | ALB domain Zone ID | string |
n/a | yes |
cluster_id | Cluster ID service should be attached to | string |
n/a | yes |
container_definitions | JSON encoded list of container definitions | string |
"[]" |
no |
desired_count | Number of Fargate services to run | number |
1 |
no |
domain | Primary application domain | string |
n/a | yes |
environment | Environment (development, qa, live, etc.) | string |
"development" |
no |
execution_role_arn | IAM Role ARN to run tasks by | string |
n/a | yes |
health_check_path | URL path for ALB to check the service is up & running | string |
"/" |
no |
hosted_zone_id | Hosted Zone the service should be attached to (may be null) | string |
n/a | yes |
name | Service Name | string |
n/a | yes |
record_name | Subdomain the service should be available by (leave empty to use the main domain) | string |
n/a | yes |
service_port | Docker Image port to route traffic to | number |
80 |
no |
subnets | Subnet IDs to run tasks in | list(string) |
n/a | yes |
task_definition_cpu | Number of cpu units used by the task | string |
"256" |
no |
task_definition_memory | Amount (in MiB) of memory used by the task | string |
"512" |
no |
vpc_id | VPC ID Service should be launched in | string |
n/a | yes |
Name | Description |
---|---|
aws_security_group_id | n/a |