Skip to content

streamsapps/tf-fargate-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inputs

Name Description Type Default Required
alb_internal If true, the LB will be internal. string "false" no
alb_security_groups The security groups for the load balancer list n/a yes
alb_subnets The subnets for the load balancer list n/a yes
app_alarm_cpu_high_evaluation_period_seconds the length of time in seconds that an evaluation period is defined string "60" no
app_alarm_cpu_high_num_evaluation_periods The number of evaluation periods that must be above the defined threshold to scale up. string "2" no
app_alarm_cpu_high_threshold see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-metrics.html#service_utilization for more info string "200" no
app_alarm_cpu_low_evaluation_period_seconds the length of time in seconds that an evaluation period is defined string "60" no
app_alarm_cpu_low_num_evaluation_periods The number of evaluation periods that must be below the defined threshold to scale down. string "2" no
app_alarm_cpu_low_threshold see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-metrics.html#service_utilization for more info string "20" no
app_alarm_memory_high_evaluation_period_seconds the length of time in seconds that an evaluation period is defined string "60" no
app_alarm_memory_high_num_evaluation_periods The number of evaluation periods that must be above the defined threshold to scale up. string "2" no
app_alarm_memory_high_threshold see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-metrics.html#service_utilization for more info string "200" no
app_alarm_memory_low_evaluation_period_seconds the length of time in seconds that an evaluation period is defined string "60" no
app_alarm_memory_low_num_evaluation_periods The number of evaluation periods that must be below the defined threshold to scale down. string "2" no
app_alarm_memory_low_threshold see https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-metrics.html#service_utilization for more info string "20" no
app_scaling_cooldown The number of seconds to wait between scaling events (both scale up and scale down) string "120" no
app_scaling_maximum Maximum number of tasks that will be running; the service will not scale above this. string "5" no
app_scaling_minimum The minimum number of tasks that will be running; it will not scale below this. string "2" no
cluster_name The ECS cluster to target for deployment. string n/a yes
container_definitions The JSON task definition (this would be the task.json template file that is already rendered) string n/a yes
container_name The container name in the task to target on the load balancer. string n/a yes
container_port The container port in the task to target on the load balancer. string n/a yes
cpu The number of cpu units used by the task string "256" no
deployment_maximum_percent The maximum percent for the service tasks. string n/a yes
deployment_minimum_healthy_percent Minimum healthy percent for the service tasks. string n/a yes
desired_count The desired count for tasks to run in the service. string n/a yes
healthcheck_grace_period_seconds Seconds to ignore failing load balancer health checks on newly instantiated tasks to prevent premature shutdown string "10" no
healthcheck_healthy_threshold Target group health healthy threshold string "3" no
healthcheck_interval_seconds Target group health check timeout string "30" no
healthcheck_path Target group health check path string n/a yes
healthcheck_port Target group health check port string "traffic-port" no
healthcheck_protocol Target group health check protocol string n/a yes
healthcheck_timeout_seconds Target group health check timeout string "5" no
healthcheck_unhealthy_threshold Target group health unhealthy threshold string "3" no
iam_role The IAM service role for the ECS service string n/a yes
load_balancer_name The name for the load balancer string n/a yes
load_balancer_target_port The target port for the load balancer string "80" no
load_balancer_target_protocol The target protocol for the load balancer string "HTTP" no
memory The amount (in MiB) of memory used by the task string "512" no
network_mode defines the network mode the task definition runs in; valid values are bridge and host. string "awsvpc" no
r53_record_name r53 record name. leave blank to not create a r53 record string "" no
r53_zone_id r53 zone id string "" no
region aws region for dns name string n/a yes
service_name The prefix for the service name. string n/a yes
service_security_groups The security groups for the fargate service list n/a yes
service_subnets The subnets for the fargate service list n/a yes
ssl_certificate_id Load balancer SSL certificate arn string "" no
ssl_policy The load balancer SSL policy string "" no
target_group_name The name of the target group string n/a yes
task_family The name of the task family to use for task definitions. string n/a yes
vpc_id The VPC ID string n/a yes

Outputs

Name Description
alb_arn arn of alb created
r53_lb_alias_dns_name

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages