Auto-generated
This page is generated by terraform-docs at build time from the infra/ repo. Do not edit manually.
Monitoring — ECS Cluster¶
CloudWatch alarms for ECS cluster-level CPUUtilization and MemoryUtilization. Uses only the ClusterName dimension, which aggregates across all services on the cluster.
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 average CPUUtilization across the cluster exceeds this percentage. | number |
85 |
no |
| evaluation_periods | Consecutive periods that must breach for the alarm to fire. | number |
3 |
no |
| memory_threshold | Trigger when average MemoryUtilization across the cluster exceeds this percentage. | number |
85 |
no |
| period | Period in seconds for each evaluation. | number |
300 |
no |
Outputs¶
No outputs.