newrelic-experimental / nerd-days-cli-wizardry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nerd Days: Reducing toil with Terraform

Requirements

To get the most value out of the following, you should have a basic understanding of shell scripting, and a New Relic account that you can test with.

  • New Relic CLI version 0.14.0 or later
  • New Relic Account
    • Application reporting to New Relic

References

The CLI also has build-in help, simply run newrelic help to get more information.

Setup

Environment

You can either create a profile for yourself, or store secrets in Environment variables. Note: Environment variables take precedence! If you're having unexpected access issues, ensure that the environment is set correctly or unset!

Environment setup for bash:

export NEW_RELIC_API_KEY=
export NEW_RELIC_ACCOUNT_ID=
export NEW_RELIC_REGION="US"   # or "EU"

# Optional
export NEW_RELIC_INSIGHTS_INSERT_KEY=

Instructions

About

License:Apache License 2.0