alb-target-group-cloudwatch-sns-alarms
cloudposse/alb-target-group-cloudwatch-sns-alarms/aws
Terraform module to create CloudWatch Alarms on ALB Target level metrics.
terraform-aws-alb-target-group-cloudwatch-sns-alarms   [![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) Terraform module for creating alarms for tracking important changes and occurrences from ALBs. --- This project is part of our comprehensive "SweetOps" approach towards DevOps. [ ][share_email] [ ][share_googleplus] [ ][share_facebook] [ ][share_reddit] [ ][share_linkedin] [ ][share_twitter] ![Terraform Open Source Modules][terraform_modules] It's 100% Open Source and licensed under the APACHE2. We literally have [hundreds of terraform modules][terraform_modules] that
| Name | Type | Description | Default |
|---|---|---|---|
| delimiter | string | Delimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` | required |
| regex_replace_chars | string | Terraform regular expression (regex) string. Characters matching the regex will | required |
| enabled | bool | Set to false to prevent the module from creating any resources | required |
| tenant | string | ID element _(Rarely used, not included by default)_. A customer identifier, indi | required |
| name | string | ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thi | required |
| id_length_limit | number | Limit `id` to this many characters (minimum 6). Set to `0` for unlimited length. | required |
| namespace | string | ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp' | required |
| label_order | list(string) | The order in which the labels (ID elements) appear in the `id`. Defaults to ["na | required |
| stage | string | ID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bu | required |
| target_group_arn_suffix | string | The ARN suffix of ALB Target Group | required |
| label_key_case | string | Controls the letter case of the `tags` keys (label names) for tags generated by | required |
| environment | string | ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'st | required |
| label_value_case | string | Controls the letter case of ID elements (labels) as included in `id`, set as tag | required |
| alb_arn_suffix | string | The ARN suffix of ALB | required |
| elb_5xx_count_threshold | number | The maximum count of ELB 5XX requests over a period. A negative value will disab | 25 |
| insufficient_data_actions | list(string) | A list of ARNs (i.e. SNS Topic ARN) to execute when this alarm transitions into | [
""
] |
| httpcode_alarm_description | string | The string to format and use as the httpcode alarm description | "HTTPCode %v count for %v over %v last % |
| ok_actions | list(string) | A list of ARNs (i.e. SNS Topic ARN) to execute when this alarm transitions into | [
""
] |
| attributes | list(string) | ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, | [] |
| additional_tag_map | map(string) | Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add | {} |
| target_4xx_count_threshold | number | The maximum count of 4XX requests over a period. A negative value will disable t | 25 |
| treat_missing_data | string | Sets how alarms handle missing data points. Values supported: missing, ignore, b | "missing" |
| context | any | Single object for setting entire context at once. See description of individual | {
"additional_tag_map": {},
"attribu |
| tags | map(string) | Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t | {} |
| labels_as_tags | set(string) | Set of labels (ID elements) to include as tags in the `tags` output. Default is | [
"default"
] |
| evaluation_periods | number | Number of periods to evaluate for the alarm | 1 |
| period | number | Duration in seconds to evaluate for the alarm | 300 |
| target_response_time_threshold | number | The maximum average target response time (in seconds) over a period. A negative | 0.5 |
| target_response_time_alarm_description | string | The string to format and use as the target response time alarm description | "Target Response Time average for %v ove |
| target_5xx_count_threshold | number | The maximum count of 5XX requests over a period. A negative value will disable t | 25 |
| descriptor_formats | any | Describe additional descriptors to be output in the `descriptors` output map. Ma | {} |
| notify_arns | list(string) | A list of ARNs (i.e. SNS Topic ARN) to execute when this alarm transitions into | [
""
] |
| alarm_actions | list(string) | A list of ARNs (i.e. SNS Topic ARN) to execute when this alarm transitions into | [
""
] |
| target_3xx_count_threshold | number | The maximum count of 3XX requests over a period. A negative value will disable t | 25 |
httpcode_target_4xx_count_cloudwatch_metric_alarm_arn — Target Group 4xx count CloudWatch metric alarm ARNhttpcode_elb_5xx_count_cloudwatch_metric_alarm_arn — ELB 5xx count CloudWatch metric alarm ARNtarget_response_time_average_cloudwatch_metric_alarm_id — Target Group response time average CloudWatch metric alarm IDhttpcode_target_3xx_count_cloudwatch_metric_alarm_id — Target Group 3xx count CloudWatch metric alarm IDhttpcode_target_3xx_count_cloudwatch_metric_alarm_arn — Target Group 3xx count CloudWatch metric alarm ARNhttpcode_target_4xx_count_cloudwatch_metric_alarm_id — Target Group 4xx count CloudWatch metric alarm IDhttpcode_target_5xx_count_cloudwatch_metric_alarm_id — Target Group 5xx count CloudWatch metric alarm IDhttpcode_target_5xx_count_cloudwatch_metric_alarm_arn — Target Group 5xx count CloudWatch metric alarm ARNhttpcode_elb_5xx_count_cloudwatch_metric_alarm_id — ELB 5xx count CloudWatch metric alarm IDtarget_response_time_average_cloudwatch_metric_alarm_arn — Target Group response time average CloudWatch metric alarm ARNAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,