{"id":19165336,"url":"https://github.com/skyscrapers/terraform-cloudwatch","last_synced_at":"2026-02-27T21:34:43.015Z","repository":{"id":71000068,"uuid":"176703790","full_name":"skyscrapers/terraform-cloudwatch","owner":"skyscrapers","description":"Terraform module that configures pre-defined cloudwatch alerts for the provided resources and pushes them to SNS","archived":false,"fork":false,"pushed_at":"2023-01-13T15:38:33.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T18:54:11.529Z","etag":null,"topics":["aws-apigateway","aws-cloudwatch","aws-dynamodb","aws-kinesis","aws-lambda","terraform","terraform-module","terraform-modules"],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skyscrapers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-20T09:54:19.000Z","updated_at":"2021-10-05T14:22:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"3fdf4bbf-d9f7-4025-8405-22038e798e21","html_url":"https://github.com/skyscrapers/terraform-cloudwatch","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyscrapers%2Fterraform-cloudwatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyscrapers%2Fterraform-cloudwatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyscrapers%2Fterraform-cloudwatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyscrapers%2Fterraform-cloudwatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skyscrapers","download_url":"https://codeload.github.com/skyscrapers/terraform-cloudwatch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248069563,"owners_count":21042665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-apigateway","aws-cloudwatch","aws-dynamodb","aws-kinesis","aws-lambda","terraform","terraform-module","terraform-modules"],"created_at":"2024-11-09T09:27:28.577Z","updated_at":"2026-02-27T21:34:37.994Z","avatar_url":"https://github.com/skyscrapers.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-cloudwatch\n\nN.B. Releases \u003e= 2.0.0 been upgraded to use Terraform 0.12.n.\n\nTerraform module to setup cloudwatch alerts and push them to SNS. This repository contains the following modules:\n\n* `api-gateway`: Creates general alerts for the api-gateway.\n* `dynamodb`: Creates the alerts needed for a dynamodb table.\n* `kinesis`: Creates alerts for a kinesis stream. This is used in the `skyscrapers/terraform-kinesis` module.\n* `lambda_function`: Creates the alerts for lambda functions.\n\n## API-Gateway\n\nCreates general alerts for the API-Gateway.\n\nN.B. Releases \u003e= 2.0.0 the `5XXError...` variables are now `fiveXXError...` as variables cannot start with a number.\n\nThe following resources are created:\n\n* Cloudwatch alerts for the API-Gateway that was passed as variable\n\n### Available variables\n\n| Name | Description | Type | Default | Required |\n|------|-------------|:----:|:-----:|:-----:|\n| fiveXXError\\_error\\_period | The period in seconds over which the specified stat is applied. | string | `\"60\"` | no |\n| fiveXXError\\_evaluation\\_periods | The number of periods over which data is compared to the specified threshold. | string | `\"1\"` | no |\n| fiveXXError\\_threshold | The value against which the specified statistic is compared. | string | `\"5\"` | no |\n| api\\_gateway | Name of the API Gateway to monitor | string | n/a | yes |\n| integrationlatency\\_error\\_period | The period in seconds over which the specified stat is applied. | string | `\"60\"` | no |\n| integrationlatency\\_evaluation\\_periods | The number of periods over which data is compared to the specified threshold. | string | `\"2\"` | no |\n| integrationlatency\\_threshold | The value against which the specified statistic is compared. | string | `\"5000\"` | no |\n| latency\\_error\\_period | The period in seconds over which the specified stat is applied. | string | `\"60\"` | no |\n| latency\\_evaluation\\_periods | The number of periods over which data is compared to the specified threshold. | string | `\"2\"` | no |\n| latency\\_threshold | The value against which the specified statistic is compared. | string | `\"5000\"` | no |\n| sns\\_topic\\_arn | ARN of the SNS topic you want the alerts to be sent to | string | n/a | yes |\n\n## DynamoDB\n\nCreates the alerts needed for a DynamoDB table.\n\n### Available variables\n\n| Name | Description | Type | Default | Required |\n|------|-------------|:----:|:-----:|:-----:|\n| dynamodb\\_table\\_name | Name of the dynamodb table to monitor | string | n/a | yes |\n| dynamodb\\_throttle\\_evaluation\\_periods | The period in seconds over which the specified stat is applied. | string | `\"1\"` | no |\n| dynamodb\\_throttle\\_period | The number of periods over which data is compared to the specified threshold. | string | `\"60\"` | no |\n| dynamodb\\_throttle\\_threshold | The value against which the specified statistic is compared. | string | `\"0\"` | no |\n| sns\\_topic\\_arn | ARN of the SNS topic you want the alerts to be sent to | string | n/a | yes |\n\n\n## ElasticSearch\n\nCreates the alerts needed for a ElasticSearch domain.\n\n### Available variables\n\n| Name | Description | Type | Default | Required |\n|------|-------------|:----:|:-----:|:-----:|\n| cpu\\_utilization\\_threshold | The maximum percentage of CPU utilization | string | `\"95\"` | no |\n| elasticsearch\\_cluster\\_name | Name of the ElasticSearch cluster to monitor | string | n/a | yes |\n| free\\_storage\\_space\\_threshold | The minimum amount of available storage space in MegaByte. | string | `\"512\"` | no |\n| jvm\\_memory\\_pressure\\_threshold | The maximum percentage of the Java heap used for all data nodes in the cluster | string | `\"95\"` | no |\n| sns\\_topic\\_arn | ARN of the SNS topic you want the alerts to be sent to | string | n/a | yes |\n\n## Kinesis\n\nCreates alerts for a Kinesis stream. This is used in the `skyscrapers/terraform-kinesis` module.\n\nThe following resources are created:\n\n* Cloudwatch alerts for the kinesis stream that was passed as variable\n\n### Available variables\n\n| Name | Description | Type | Default | Required |\n|------|-------------|:----:|:-----:|:-----:|\n| kinesis\\_iterator\\_age\\_error\\_evaluation\\_periods | The number of periods over which data is compared to the specified threshold. | string | `\"1\"` | no |\n| kinesis\\_iterator\\_age\\_error\\_period | The period in seconds over which the specified stat is applied. | string | `\"300\"` | no |\n| kinesis\\_iterator\\_age\\_error\\_threshold | The value against which the specified statistic is compared. | string | `\"1000000\"` | no |\n| kinesis\\_stream\\_name | Name of the kinesis stream to monitor | string | n/a | yes |\n| kinesis\\_write\\_throughput\\_exceeded\\_evaluation\\_periods | The number of periods over which data is compared to the specified threshold. | string | `\"6\"` | no |\n| kinesis\\_write\\_throughput\\_exceeded\\_period | The period in seconds over which the specified stat is applied. | string | `\"300\"` | no |\n| kinesis\\_write\\_throughput\\_exceeded\\_threshold | The value against which the specified statistic is compared. | string | `\"10\"` | no |\n| sns\\_topic\\_arn | ARN of the SNS topic you want the alerts to be sent to | string | n/a | yes |\n\n## lambda_function\n\n Creates the alerts for Lambda functions.\n\n### Available variables\n\n| Name | Description | Type | Default | Required |\n|------|-------------|:----:|:-----:|:-----:|\n| lambda\\_function | Name of the lambda function to monitor | string | n/a | yes |\n| lambda\\_invocation\\_error\\_evaluation\\_periods | The number of periods over which data is compared to the specified threshold. | string | `\"1\"` | no |\n| lambda\\_invocation\\_error\\_period | The period in seconds over which the specified stat is applied. | string | `\"60\"` | no |\n| lambda\\_invocation\\_error\\_threshold | The value against which the specified statistic is compared. | string | `\"5\"` | no |\n| lambda\\_invocation\\_error\\_treat\\_missing\\_data | Sets how this alarm is to handle missing data points. | string | `\"missing\"` | no |\n| lambda\\_iterator\\_age\\_error\\_evaluation\\_periods | The number of periods over which data is compared to the specified threshold. | string | `\"1\"` | no |\n| lambda\\_iterator\\_age\\_error\\_period | The period in seconds over which the specified stat is applied. | string | `\"60\"` | no |\n| lambda\\_iterator\\_age\\_error\\_threshold | The value against which the specified statistic is compared. | string | `\"1000000\"` | no |\n| lambda\\_throttle\\_error\\_evaluation\\_periods | The number of periods over which data is compared to the specified threshold. | string | `\"1\"` | no |\n| lambda\\_throttle\\_error\\_period | The period in seconds over which the specified stat is applied. | string | `\"60\"` | no |\n| lambda\\_throttle\\_error\\_threshold | The value against which the specified statistic is compared. | string | `\"0\"` | no |\n| sns\\_topic\\_arn | ARN of the SNS topic you want the alerts to be sent to | string | n/a | yes |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyscrapers%2Fterraform-cloudwatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyscrapers%2Fterraform-cloudwatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyscrapers%2Fterraform-cloudwatch/lists"}