/lambda-newrelic-ingest

Terragrunt repository to deploys a empty lambda ready to ingest logs to a New Relic Account

Primary LanguageHCL

lambda-newrelic-ingest

Terragrunt repository to deploys a empty lambda ready to ingest logs to a New Relic Account

Requirements

  • Terraform 0.14
  • Terragrunt >= 0.27.0

You need to use terragrunt instead of terraform to init, apply and destroy commands.

Also, as a consideration, you MUST leave blank the License Key variable and fill it in a secure form before lambda runs.

Terraform Docs

Providers

Name Version
aws n/a

Modules

No modules.

Resources

Name Type
aws_iam_policy.lambda_policy resource
aws_iam_role.integration_role resource
aws_iam_role.lambda_role resource
aws_iam_role_policy.integrations_config_policy resource
aws_iam_role_policy_attachment.lambda_attach resource
aws_iam_role_policy_attachment.read_only_attach resource
aws_lambda_function.test_lambda resource
aws_secretsmanager_secret.new_relic_license_key resource
aws_secretsmanager_secret_version.new_relic_license_key resource
aws_iam_policy_document.integrations_policy data source
aws_iam_policy_document.lambda_policy data source

Inputs

Name Description Type Default Required
AWS_account AWS Account to be deployed the stack in string n/a yes
AWS_region AWS Region string "us-west-2" no
lambda_name Lambda Name string n/a yes
newrelic_account_id n/a string n/a yes
newrelic_keymap New Relic API key map(string)
{
"LicenseKey": ""
}
no

Additional Documentation

Terragrunt

New Relic Lambda Layer