{"id":25409186,"url":"https://github.com/enter-at/terraform-newrelic-alert-lambda","last_synced_at":"2025-07-30T07:08:07.545Z","repository":{"id":56141711,"uuid":"227718360","full_name":"enter-at/terraform-newrelic-alert-lambda","owner":"enter-at","description":"Terraform module designed to facilitate the creation of New Relic AWS Lambda alerts.","archived":false,"fork":false,"pushed_at":"2020-11-24T16:51:29.000Z","size":59,"stargazers_count":4,"open_issues_count":163,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-13T19:50:28.497Z","etag":null,"topics":["aws","aws-lambda","newrelic","newrelic-alerts","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"","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/enter-at.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2019-12-12T23:57:14.000Z","updated_at":"2024-06-07T12:47:32.000Z","dependencies_parsed_at":"2022-08-15T13:30:54.889Z","dependency_job_id":null,"html_url":"https://github.com/enter-at/terraform-newrelic-alert-lambda","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"enter-at/terraform-aws-lambda","purl":"pkg:github/enter-at/terraform-newrelic-alert-lambda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enter-at%2Fterraform-newrelic-alert-lambda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enter-at%2Fterraform-newrelic-alert-lambda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enter-at%2Fterraform-newrelic-alert-lambda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enter-at%2Fterraform-newrelic-alert-lambda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enter-at","download_url":"https://codeload.github.com/enter-at/terraform-newrelic-alert-lambda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enter-at%2Fterraform-newrelic-alert-lambda/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267827503,"owners_count":24150350,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","aws-lambda","newrelic","newrelic-alerts","terraform","terraform-module"],"created_at":"2025-02-16T08:19:55.107Z","updated_at":"2025-07-30T07:08:07.501Z","avatar_url":"https://github.com/enter-at.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n\n  ** DO NOT EDIT THIS FILE\n  **\n  ** This file was automatically generated by the `build-harness`.\n  ** 1) Make all changes to `README.yaml`\n  ** 2) Run `make init` (you only need to do this once)\n  ** 3) Run`make readme` to rebuild this file.\n  **\n\n  --\u003e\n\n[\u003cimg src=\"https://res.cloudinary.com/enter-at/image/upload/v1576145406/static/logo-svg.svg\" alt=\"enter-at\" width=\"100\"\u003e][website]\n\n# terraform-newrelic-alert-lambda [![Build Status](https://github.com/enter-at/terraform-newrelic-alert-lambda/workflows/Terraform%20Lint/badge.svg)](https://github.com/enter-at/terraform-newrelic-alert-lambda/actions) [![Latest Release](https://img.shields.io/github/release/enter-at/terraform-newrelic-alert-lambda.svg)](https://github.com/enter-at/terraform-newrelic-alert-lambda/releases/latest) [![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n\nTerraform module designed to facilitate the creation of New Relic AWS Lambda alerts.\n\n\n---\n\n\nIt's 100% Open Source and licensed under the [APACHE2](LICENSE).\n\n\n\n\n\n## Usage\n\n\n**IMPORTANT:** The `master` branch is used in `source` just as an example. In your code, do not pin to `master` because there may be breaking changes between releases.\nInstead pin to the release tag (e.g. `?ref=tags/x.y.z`) of one of our [latest releases](https://github.com/enter-at/terraform-newrelic-alert-lambda/releases).\n\n\n### Simple Example\n\n```hcl\nmodule \"newrelic_alert\" {\n  source           = \"git::https://github.com/enter-at/terraform-newrelic-alert-lambda.git?ref=master\"\n  function_name    = aws_lambda_function.main.function_name\n  function_arn     = aws_lambda_function.main.arn\n  function_timeout = aws_lambda_function.main.timeout\n  policy_id        = newrelic_alert_policy.main.id\n}\n```\n\n\n\n\n\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|:----:|:-----:|:-----:|\n| enabled | (Optional) Set whether to enable the alert condition. Defaults to true. | bool | `true` | no |\n| error_duration_critical | (Required) In minutes, must be in the range of 1 to 120, inclusive. Defaults to 3. | number | `3` | no |\n| error_threshold_critical | (Required) Must be 0 or greater. Defaults to 0. | number | `0` | no |\n| function_arn | (Required) The Amazon Resource Name (ARN) identifying the Lambda function. | string | - | yes |\n| function_name | (Required) The name identifying the Lambda function. | string | - | yes |\n| function_timeout | (Required) The amount of time the Lambda function can run in seconds. | number | - | yes |\n| policy_id | (Required) The ID of the policy where this condition should be used. | string | - | yes |\n| runbook_url | (Optional) Runbook URL to display in notifications. | string | `null` | no |\n| since_value | (Optional) The value to be used in the SINCE \u003cX\u003e MINUTES AGO clause for the NRQL query. Must be between 1 and 20. Defaults to 3. | number | `3` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| error_rate_min_alert_condition_id | The ID of the NRQL error rate alert condition. |\n| execution_time_alert_condition_id | The ID of the NRQL execution time alert condition. |\n\n\n\n\n## Share the Love\n\nLike this project?\nPlease give it a ★ on [our GitHub](https://github.com/enter-at/terraform-newrelic-alert-lambda)!\n\n\n## Related Projects\n\nCheck out these related projects.\n\n- [terraform-aws-lambda](https://github.com/enter-at/terraform-aws-lambda) - Terraform module designed to facilitate the creation of AWS Lambda functions.\n- [terraform-aws-lambda-layer](https://github.com/enter-at/terraform-aws-lambda-layer) - Terraform module designed to facilitate the creation of AWS Lambda layers.\n\n\n\n## Help\n\n**Got a question?**\n\nFile a GitHub [issue](https://github.com/enter-at/terraform-newrelic-alert-lambda/issues).\n\n## Contributing\n\n### Bug Reports \u0026 Feature Requests\n\nPlease use the [issue tracker](https://github.com/enter-at/terraform-newrelic-alert-lambda/issues) to report any bugs or file feature requests.\n\n### Developing\n\nIf you are interested in being a contributor and want to get involved in developing this project, we would love to hear from you!\n\nIn general, PRs are welcome. We follow the typical \"fork-and-pull\" Git workflow.\n\n 1. **Fork** the repo on GitHub\n 2. **Clone** the project to your own machine\n 3. **Commit** changes to your own branch\n 4. **Push** your work back up to your fork\n 5. Submit a **Pull Request** so that we can review your changes\n\n**NOTE:** Be sure to merge the latest changes from \"upstream\" before making a pull request!\n\n\n\n\n\n## License\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nSee [LICENSE](LICENSE) for full details.\n\n    Licensed to the Apache Software Foundation (ASF) under one\n    or more contributor license agreements.  See the NOTICE file\n    distributed with this work for additional information\n    regarding copyright ownership.  The ASF licenses this file\n    to you under the Apache License, Version 2.0 (the\n    \"License\"); you may not use this file except in compliance\n    with the License.  You may obtain a copy of the License at\n\n      https://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing,\n    software distributed under the License is distributed on an\n    \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n    KIND, either express or implied.  See the License for the\n    specific language governing permissions and limitations\n    under the License.\n\n\n\n\n### Contributors\n\n\n[![Steffen Leistner][sleistner_avatar]][sleistner_homepage]\n\n\n  [sleistner_homepage]: https://github.com/sleistner\n  [sleistner_avatar]: https://res.cloudinary.com/enter-at/image/fetch/f_png,r_max,w_100,h_100,c_thumb/https://github.com/sleistner.png\n\n\n\n  [website]: https://github.com/enter-at\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenter-at%2Fterraform-newrelic-alert-lambda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenter-at%2Fterraform-newrelic-alert-lambda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenter-at%2Fterraform-newrelic-alert-lambda/lists"}