Skip to content

Instantly share code, notes, and snippets.

@micahlmartin
Created December 14, 2016 05:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save micahlmartin/97db1ddce752a908b56d285145aaadbe to your computer and use it in GitHub Desktop.
Save micahlmartin/97db1ddce752a908b56d285145aaadbe to your computer and use it in GitHub Desktop.
$ TF_LOG=DEBUG AWS_PROFILE=dev terraform remote config -backend=s3 -backend-config=bucket=mybucket -backend-config=key=global/vpc_mgmt.tfstate -backend-config=region=us-east-1
2016/12/14 00:10:44 [INFO] Terraform version: 0.8.0 142dd256ad48ab17b6019fe9cd18712167fcf4b4
2016/12/14 00:10:44 [INFO] CLI args: []string{"/usr/local/bin/terraform", "remote", "config", "-backend=s3", "-backend-config=bucket=mybucket", "-backend-config=key=global/vpc_mgmt.tfstate", "-backend-config=region=us-east-1"}
2016/12/14 00:10:44 [DEBUG] Detected home directory from env var: /Users/martinm8
2016/12/14 00:10:44 [DEBUG] Detected home directory from env var: /Users/martinm8
2016/12/14 00:10:44 [DEBUG] Attempting to open CLI config file: /Users/martinm8/.terraformrc
2016/12/14 00:10:44 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2016/12/14 00:10:44 [DEBUG] Detected home directory from env var: /Users/martinm8
2016/12/14 00:10:44 [WARN] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
Remote configuration updated
2016/12/14 00:10:44 [WARN] Ignoring AWS metadata API endpoint at default location as it doesn't return any instance-id
2016/12/14 00:10:54 [ERR] Checkpoint error: Get https://checkpoint-api.hashicorp.com/v1/check/terraform?arch=amd64&os=darwin&signature=2fbaaa11-2195-c8b8-5730-ed68c397afc2&version=0.8.0: net/http: TLS handshake timeout
2016/12/14 00:11:25 [DEBUG] plugin: waiting for all plugin processes to complete...
Error while performing the initial pull. The error message is shown
below. Note that remote state was properly configured, so you don't
need to reconfigure. You can now use `push` and `pull` directly.
Error reloading remote state: RequestError: send request failed
caused by: Get https://s3.amazonaws.com/mybucket/global/vpc_mgmt.tfstate: net/http: TLS handshake timeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment