Name | Version |
---|---|
terraform | >= 1.0 |
aws | >= 4.5 |
Name | Version |
---|---|
aws | >= 4.5 |
No modules.
Name | Type |
---|---|
aws_appautoscaling_policy.autoscaling | resource |
aws_appautoscaling_target.autoscaling | resource |
aws_ecs_service.service | resource |
aws_caller_identity.current | data source |
aws_partition.current | data source |
aws_region.current | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
autoscaling | Autoscaling enabled | bool |
false |
no |
autoscaling_policy | Autoscaling target value for CPU/Memory | list(object({ |
[] |
no |
capacity_provider_strategy | proper weights to associate to Fargate & Fargate spot | map(any) |
{} |
no |
desired_task_count | ECS desired task count to be running | number |
n/a | yes |
ecs_cluster_id | ECS cluster id | string |
n/a | yes |
enable_ecs_managed_tags | Specifies whether to enable Amazon ECS managed tags for the tasks within the service. | bool |
true |
no |
health_check_grace_period_seconds | Task warm up time before health checks in seconds | number |
0 |
no |
launch_type | ECS task launchtype | string |
"FARGATE" |
no |
load_balancer | Load balancer config | map(any) |
{} |
no |
max_autoscaling_task_count | Maximum task count in autoscaling | number |
5 |
no |
name | ECS task definition name | string |
n/a | yes |
ordered_placement_strategy | Service level strategy rules that are taken into consideration during task placement. List from top to bottom in order of precedence | any |
{} |
no |
propagate_tags | Specifies whether to propagate the tags from the task definition or the service to the tasks. The valid values are SERVICE, TASK_DEFINITION and NONE | string |
"TASK_DEFINITION" |
no |
security_group_ids | ECS security group id | list(any) |
n/a | yes |
service_connect_config | Service connect configuration | any |
{} |
no |
subnets | VPC subnets id | list(any) |
n/a | yes |
tags | A mapping of tags to assign to all resources | map(string) |
{} |
no |
task_definition_arn | ECS task definition arn | string |
n/a | yes |
wait_for_steady_state | If true, Terraform will wait for the service to reach a steady state. | bool |
false |
no |
Name | Description |
---|---|
arn | n/a |
name | n/a |
Apache 2 Licensed. See LICENSE for full details.