-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add configuration for the monitor health check. #7
base: master
Are you sure you want to change the base?
Conversation
… documentation. Use the fully qualified app name for all the resources
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor changes (formatting).
README.md
Outdated
newrelic_fully_qualified_app_name = "Team/PRD/App" | ||
service_healthcheck_url = "https://your-service-url.com" | ||
synthetics_monitor_health_endpoint_url = "https://your-service-url.com" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra spaces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
status = "ENABLED" | ||
locations = ["AWS_US_EAST_1", "AWS_US_WEST_1", "AWS_EU_WEST_1", "AWS_EU_WEST_3", "AWS_AP_NORTHEAST_1", "AWS_AP_SOUTHEAST_2"] | ||
bypass_head_request = var.synthetics_monitor_bypass_head_request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not aligned. Easy to solve in VS code: cmd+shift+P
then Format Document
.
Actually, let's use this to improve locations
too. I would place each location on a different line:
locations = [
"AWS_US_EAST_1",
"AWS_US_WEST_1",
...
]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, I was not aware of the Format Document action
test/test.tf
Outdated
@@ -4,11 +4,10 @@ provider "newrelic" { | |||
|
|||
module "newrelic_monitoring" { | |||
source = "../" | |||
|
|||
newrelic_app_name = var.newrelic_app_name | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extra newline.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Add configuration for themonitor health check.
Add defaults to variables documentation.
Use the fully qualified app name for all the resources