Skip to content

ECS Service (Fargate)

Long-running container task on Fargate.

compute
category
20
settings
6
inputs
1
outputs
SettingTypeRequiredDefault
Service nameTextYes
LB container nameText
LB container portNumber8080
Desired countNumber1
Auto scaling (App Auto Scaling)Toggletrue
Min tasksNumber2
Max tasksNumber10
Target tracking CPU %Number70
Launch type
Options: Fargate, Fargate Spot, EC2
ChoiceFARGATE
Platform version
Options: LATEST, 1.4.0
ChoiceLATEST
Scheduling strategy
Options: Replica, Daemon
ChoiceREPLICA
Enable ECS ExecTogglefalse
Assign public IPTogglefalse
Health check grace (s)Number0
Deployment min healthy %Number100
Deployment max %Number200
Deployment controller
Options: ECS (rolling), CodeDeploy (blue/green), External
ChoiceECS
Propagate tags
Options: None, Service, Task definition
ChoiceNONE
ECS managed tagsTogglefalse
TagsKey–value
SocketDirectionAcceptsTerraform arg
ECS clusterInputaws.ecs-clustercluster
Task definitionInputaws.ecs-task-definitiontask_definition
Target groupsmultiInputaws.target-groupload_balancer.target_group_arn
Security groupsmultiInputaws.security-groupnetwork_configuration.security_groups
SubnetsmultiInputaws.subnetnetwork_configuration.subnets
Backing storeOutputany
Ingress trafficInputany