This directory contains Terraform configuration to create synthetics monitors to exercise the sample API proxies.
The scripts call the proxy urls with W3C Trace Context headers: traceparent, and tracestate.
Make sure Terraform is installed. We recommend tfenv for managing your Terraform binaries.
Update the runtf.sh.sample wrapper file with your credentials and account details and rename it runtf.sh
. Important do not commit this new file to git! (It should be ignored in .gitignore
already.)
The wrapper file contains configuration of three API keys:
NEW_RELIC_API_KEY
: a User API key to create Terraform resourcesTF_VAR_apigee_protocol
: the protocol used by the Apigee proxy, e.g. httpsTF_VAR_apigee_host
: the IP address or FQDN of the Apigee endpoint
Note: You may want to update the version numbers in provider.tf to the latest versions of Terraform and the New Relic provider.