You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
5
+
\**This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|[aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
189
+
|[aws_iam_policy_document.sns_topic_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
190
+
191
+
## Inputs
192
+
193
+
| Name | Description | Type | Default | Required |
| <aname="input_alarm_datapoints_to_alarm"></a> [alarm\_datapoints\_to\_alarm](#input\_alarm\_datapoints\_to\_alarm)| Number of datapoints that must be breaching to trigger the alarm |`number`|`2`| no |
196
+
| <aname="input_alarm_evaluation_periods"></a> [alarm\_evaluation\_periods](#input\_alarm\_evaluation\_periods)| Number of periods over which data is compared to the threshold |`number`|`2`| no |
197
+
| <aname="input_alarm_period"></a> [alarm\_period](#input\_alarm\_period)| Period in seconds over which the statistic is applied |`number`|`300`| no |
| <aname="input_ec2_high_cpu_threshold"></a> [ec2\_high\_cpu\_threshold](#input\_ec2\_high\_cpu\_threshold)| CPU utilization threshold for high CPU alarm (percentage) |`number`|`80`| no |
200
+
| <aname="input_ec2_instance_ids"></a> [ec2\_instance\_ids](#input\_ec2\_instance\_ids)| List of EC2 instance IDs to monitor |`list(string)`|`[]`| no |
201
+
| <aname="input_ec2_low_cpu_threshold"></a> [ec2\_low\_cpu\_threshold](#input\_ec2\_low\_cpu\_threshold)| CPU utilization threshold for low CPU alarm (percentage) |`number`|`10`| no |
202
+
| <aname="input_enable_application_logs"></a> [enable\_application\_logs](#input\_enable\_application\_logs)| Enable application log group creation |`bool`|`true`| no |
203
+
| <aname="input_enable_detailed_monitoring"></a> [enable\_detailed\_monitoring](#input\_enable\_detailed\_monitoring)| Enable detailed monitoring for EC2 instances |`bool`|`false`| no |
204
+
| <aname="input_enable_sns_encryption"></a> [enable\_sns\_encryption](#input\_enable\_sns\_encryption)| Enable encryption for SNS topic |`bool`|`true`| no |
| <aname="input_log_group_kms_key_id"></a> [log\_group\_kms\_key\_id](#input\_log\_group\_kms\_key\_id)| The ARN of the KMS Key to use when encrypting log data |`string`|`""`| no |
207
+
| <aname="input_log_retention_days"></a> [log\_retention\_days](#input\_log\_retention\_days)| Number of days to retain logs in CloudWatch |`number`|`30`| no |
208
+
| <aname="input_name_prefix"></a> [name\_prefix](#input\_name\_prefix)| Prefix for resource names (if not provided, will use project-environment pattern) |`string`|`""`| no |
209
+
| <aname="input_project_name"></a> [project\_name](#input\_project\_name)| Name of the project |`string`| n/a | yes |
210
+
| <aname="input_sns_email_endpoints"></a> [sns\_email\_endpoints](#input\_sns\_email\_endpoints)| List of email addresses to subscribe to SNS topic |`list(string)`|`[]`| no |
211
+
| <aname="input_sns_kms_key_id"></a> [sns\_kms\_key\_id](#input\_sns\_kms\_key\_id)| KMS key ID for SNS topic encryption (if enable\_sns\_encryption=true) |`string`|`"alias/aws/sns"`| no |
212
+
| <aname="input_tags"></a> [tags](#input\_tags)| Additional tags for all resources |`map(string)`|`{}`| no |
213
+
214
+
## Outputs
215
+
216
+
| Name | Description |
217
+
|------|-------------|
218
+
| <aname="output_alarm_arns"></a> [alarm\_arns](#output\_alarm\_arns)| Map of CloudWatch alarm names to their ARNs |
219
+
| <aname="output_cpu_alarm_ids"></a> [cpu\_alarm\_ids](#output\_cpu\_alarm\_ids)| The IDs of the CPU alarms created |
220
+
| <aname="output_custom_alarm_ids"></a> [custom\_alarm\_ids](#output\_custom\_alarm\_ids)| The IDs of the custom alarms created |
221
+
| <aname="output_log_group_arn"></a> [log\_group\_arn](#output\_log\_group\_arn)| The ARN of the CloudWatch Log Group |
222
+
| <aname="output_log_group_name"></a> [log\_group\_name](#output\_log\_group\_name)| The name of the CloudWatch Log Group |
223
+
| <aname="output_low_cpu_alarm_ids"></a> [low\_cpu\_alarm\_ids](#output\_low\_cpu\_alarm\_ids)| The IDs of the low CPU alarms created |
224
+
| <aname="output_sns_subscription_arns"></a> [sns\_subscription\_arns](#output\_sns\_subscription\_arns)| Map of SNS email subscription endpoints to their ARNs |
225
+
| <aname="output_sns_topic_arn"></a> [sns\_topic\_arn](#output\_sns\_topic\_arn)| The ARN of the SNS topic used for alarms |
0 commit comments