|
| 1 | +# terraform-aws-rhythmic-monitoring [](https://github.com/rhythmictech/terraform-aws-rhythmic-monitoring/actions) <a href="https://twitter.com/intent/follow?screen_name=RhythmicTech"><img src="https://img.shields.io/twitter/follow/RhythmicTech?style=social&logo=RhythmicTech" alt="follow on Twitter"></a> |
| 2 | + |
| 3 | +Configures a basic monitoring pattern based on three thresholds: |
| 4 | + |
| 5 | +* *Alerting* - send to something like PagerDuty |
| 6 | +* *Ticketing* - send to something like Jira |
| 7 | +* *Notify* - send to something like Slack |
| 8 | + |
| 9 | +Currently this module only supports these targets, though we aim to make it more flexible over time to support different integrations. |
| 10 | + |
| 11 | +## Example |
| 12 | +Here's what using the module will look like |
| 13 | +``` |
| 14 | +module "example" { |
| 15 | + source = "rhythmictech/terraform-mycloud-mymodule |
| 16 | +} |
| 17 | +``` |
| 18 | + |
| 19 | +## About |
| 20 | +A bit about this module |
| 21 | + |
| 22 | +<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
| 23 | +## Inputs |
| 24 | + |
| 25 | +| Name | Description | Type | Default | Required | |
| 26 | +|------|-------------|:----:|:-----:|:-----:| |
| 27 | +| alert\_webhook | Webhook to send alerts to. Currently muyst be a PagerDuty webhook | string | n/a | yes | |
| 28 | +| enable\_jira\_integration | This is experimental and not fully working yet. | bool | `"false"` | no | |
| 29 | +| name | Moniker to apply to all resources in the module | string | n/a | yes | |
| 30 | +| notify\_webhook | Webhook to send notifications to. Currently must be a Slack webhook | string | n/a | yes | |
| 31 | +| slack\_channel | Slack channel to route alerts to | string | n/a | yes | |
| 32 | +| slack\_username | Slack username to post alerts as \(will use aws account id if not specified\) | string | `""` | no | |
| 33 | +| tags | User-Defined tags | map(string) | `{}` | no | |
| 34 | + |
| 35 | +## Outputs |
| 36 | + |
| 37 | +| Name | Description | |
| 38 | +|------|-------------| |
| 39 | +| sns\_topic\_alert\_arn | Alert Topic ARN | |
| 40 | +| sns\_topic\_notify\_arn | Notification Topic ARN | |
| 41 | +| sns\_topic\_ticket\_arn | Ticketing Topic ARN | |
| 42 | + |
| 43 | +<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
| 44 | + |
| 45 | +## The Giants underneath this module |
| 46 | +- pre-commit.com/ |
| 47 | +- terraform.io/ |
| 48 | +- github.com/tfutils/tfenv |
| 49 | +- github.com/segmentio/terraform-docs |
0 commit comments