https://github.com/lisenet/newrelic-ansible-terraform
New Relic infrastructure agent deployment with Ansible and alert configuration with Terraform.
https://github.com/lisenet/newrelic-ansible-terraform
newrelic terraform
Last synced: 3 days ago
JSON representation
New Relic infrastructure agent deployment with Ansible and alert configuration with Terraform.
- Host: GitHub
- URL: https://github.com/lisenet/newrelic-ansible-terraform
- Owner: lisenet
- License: bsd-3-clause
- Created: 2020-10-28T20:46:43.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-09-24T04:13:40.000Z (12 days ago)
- Last Synced: 2025-09-24T06:11:41.473Z (12 days ago)
- Topics: newrelic, terraform
- Language: HCL
- Homepage:
- Size: 50.8 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# New Relic Monitoring
This repository contains a set of Ansible playbooks and Terraform files to install New Relic One agents and configure alerts.
New Relic One is a SaaS based monitoring solution that offers one full-access admin user for free.
This repository consists of:
* [`ansible`](./ansible/README.md) - Ansible configuration
* [`terraform`](./terraform/README.md) - Terraform configurationAnsible is used to install and configure New Relic's infrastructure agents.
Terraform is used to configure New Relic's alert policies and conditions.
## Pre-requisites
### Install Ansible
```
sudo apt install -y python3 python3-pip
python3 -m pip install --user ansible==4.10
```### Install Terraform
```
sudo apt install -y curl
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt install -y terraform=1.3.4
sudo apt-mark hold terraform
```### Configure AWS S3 and DynamoDB for Remote State Files
See configuration instructions here:
https://www.lisenet.com/2020/terraform-with-aws-s3-and-dynamodb-for-remote-state-files/
See required IAM account permissions [docs/terraform-aws-iam-permissions.json](./docs/terraform-aws-iam-permissions.json).
## Usage
To deploy infrastructure agents, see [ansible/README.md](./ansible/README.md).To deploy Terraform config, see [terraform/README.md](./terraform/README.md).