Skip to content

Auto-generated

This page is generated by terraform-docs at build time from the infra/ repo. Do not edit manually.

Monitoring — ECS Service

CloudWatch alarms for an ECS service: average CPUUtilization and MemoryUtilization across the service's running tasks. One module instance per ECS service.

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

No modules.

Resources

Name Type
aws_cloudwatch_metric_alarm.cpu resource
aws_cloudwatch_metric_alarm.memory resource

Inputs

Name Description Type Default Required
alarm_actions List of ARNs to notify on alarm transitions. Typically the PagerDuty SNS topic ARN. list(string) n/a yes
base_tags Base tags applied to all alarms. map(string) {} no
cluster_name ECS cluster name (the ClusterName CloudWatch dimension). string n/a yes
cpu_threshold Trigger when CPUUtilization exceeds this percentage. number 85 no
evaluation_periods Number of consecutive periods that must breach for the alarm to fire. number 3 no
memory_threshold Trigger when MemoryUtilization exceeds this percentage. number 85 no
period Period in seconds for each evaluation. number 300 no
service_name ECS service name (the ServiceName CloudWatch dimension). Also used as the alarm-name prefix. string n/a yes

Outputs

No outputs.