Skip to content

Auto-generated

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

Monitoring — EC2 Auto Scaling Group

CloudWatch CPU alarm on an Auto Scaling Group. Uses the AutoScalingGroupName dimension so the alarm follows the group rather than individual instances — survives instance refreshes and scale events.

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

No modules.

Resources

Name Type
aws_cloudwatch_metric_alarm.cpu 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
auto_scaling_group_name Name of the EC2 Auto Scaling Group (the AutoScalingGroupName CloudWatch dimension). string n/a yes
base_tags Base tags applied to all alarms. map(string) {} no
cpu_threshold Trigger when average CPUUtilization across the ASG exceeds this percentage. number 80 no
evaluation_periods Consecutive periods that must breach for the alarm to fire. number 3 no
period Period in seconds for each evaluation. number 300 no

Outputs

No outputs.