Skip to content

Instantly share code, notes, and snippets.

@pchug
Last active June 9, 2017 13:02
Show Gist options
  • Save pchug/57c1c3bf3d5041f681361a144659435b to your computer and use it in GitHub Desktop.
Save pchug/57c1c3bf3d5041f681361a144659435b to your computer and use it in GitHub Desktop.
Terraform Apply Newrelic output
$ env | grep -i _proxy
HTTPS_PROXY=http://OBFUSCATED:1234
HTTP_PROXY=http://OBFUSCATED:1234
NO_PROXY=*.local, 169.254/16, *.OBFUSCATED.com
http_proxy=http://OBFUSCATED:1234
https_proxy=http://OBFUSCATED:1234
no_proxy=*.local, 169.254/16, *.OBFUSCATED.com
$ terraform apply -var 'newrelic_api_key=XXXXXXXXXXXXXXXXXXX'
newrelic_alert_policy.policy1: Creating...
created_at: "" => "<computed>"
incident_preference: "" => "PER_POLICY"
name: "" => "Policy Test"
updated_at: "" => "<computed>"
newrelic_alert_policy.policy1: Still creating... (10s elapsed)
newrelic_alert_policy.policy1: Still creating... (20s elapsed)
newrelic_alert_policy.policy1: Still creating... (30s elapsed)
newrelic_alert_policy.policy1: Still creating... (40s elapsed)
newrelic_alert_policy.policy1: Still creating... (50s elapsed)
newrelic_alert_policy.policy1: Still creating... (1m0s elapsed)
newrelic_alert_policy.policy1: Still creating... (1m10s elapsed)
Error applying plan:
1 error(s) occurred:
* newrelic_alert_policy.policy1: 1 error(s) occurred:
* newrelic_alert_policy.policy1: Post https://api.newrelic.com/v2/alerts_policies.json: dial tcp 50.31.164.158:443: getsockopt: operation timed out
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment