Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding local-exec example for NerdGraph automation to reduce manual step #5

Open
pragmaticivan opened this issue May 23, 2022 · 2 comments
Labels
enhancement New feature or request P2

Comments

@pragmaticivan
Copy link

Summary

I might understand that we might not want to automate that by default but would be nice to have a local-exec example.

Desired Behavior

Ex of local-exec (run only one time) for connecting with nerd-graph

@pragmaticivan pragmaticivan added the enhancement New feature or request label May 23, 2022
@pragmaticivan
Copy link
Author

NVM local exec. https://registry.terraform.io/providers/newrelic/newrelic/latest/docs/resources/cloud_aws_link_account feels more apropriate.

@losnir losnir added the P2 label May 24, 2022
@pragmaticivan
Copy link
Author

It was simple as:

resource "newrelic_cloud_aws_link_account" "aws_link" {
  account_id             = var.newrelic_trusted_account_id
  arn                    = module.cloudwatch_metrics_forwarder_stack.newrelic-one-external-role-arn
  metric_collection_mode = "PUSH"
  name                   = var.aws_account_name
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2
Projects
None yet
Development

No branches or pull requests

2 participants