This module provides AWS ECS Service resources:
- ECS Service
- ECS Task defenition
- AWS App Autoscaling target (CPU and RAM)
- IAM Instance profile
- IAM Execution role
name
- Name that will be used in resources names and tagscluster
- AWS ECS cluster data where tasks will be deployedaws_sm_key_arns
- AWS Secrets Manager secret ARNs for container defenitionsdesired_count
- The number of instances of the task definition to place and keep runningscheduling_strategy
- The scheduling strategy to use for the serviceecs_task
- Parameters for ECS task: load_balancer options, container_definitions options and volumes optionsnetwork_mode
- The Docker networking mode to use for the containers in the task
ecs_service
id
- The Amazon Resource Name (ARN) that identifies the servicename
- The name of the servicecluster
- The Amazon Resource Name (ARN) of cluster which the service runs ondesired_count
- The number of instances of the task definition