Skip to content

Instantly share code, notes, and snippets.

@namutaka
Created May 21, 2019 07:22
Show Gist options
  • Save namutaka/ac31a0623a3f568f577a6a6a734324f6 to your computer and use it in GitHub Desktop.
Save namutaka/ac31a0623a3f568f577a6a6a734324f6 to your computer and use it in GitHub Desktop.
Terraform debug log for terraform issue
% TF_LOG=trace terraform init
2019/05/21 16:17:56 [INFO] Terraform version: 0.12.0 rc1
2019/05/21 16:17:56 [INFO] Go runtime version: go1.12.1
2019/05/21 16:17:56 [INFO] CLI args: []string{"/Users/namutaka/local/bin/terraform", "init"}
2019/05/21 16:17:56 [DEBUG] Attempting to open CLI config file: /Users/namutaka/.terraformrc
2019/05/21 16:17:56 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/05/21 16:17:56 [INFO] CLI command args: []string{"init"}
2019/05/21 16:17:56 [TRACE] ModuleInstaller: installing child modules for . into .terraform/modules
Initializing modules...
2019/05/21 16:17:56 [DEBUG] Module installer: begin sample
2019/05/21 16:17:56 [TRACE] ModuleInstaller: sample is not yet installed
2019/05/21 16:17:56 [TRACE] ModuleInstaller: cleaning directory .terraform/modules/sample prior to install of sample
2019/05/21 16:17:56 [TRACE] ModuleInstaller: sample address "git::ssh://[email protected]:3789/namutaka/terraform-modules.git" will be handled by go-getter
2019/05/21 16:17:56 [DEBUG] will download "git::ssh://[email protected]:3789/namutaka/terraform-modules.git" to .terraform/modules/sample
2019/05/21 16:17:56 [TRACE] fetching "git::ssh://[email protected]:3789/namutaka/terraform-modules.git" to ".terraform/modules/sample"
Downloading git::ssh://[email protected]:3789/namutaka/terraform-modules.git for sample...
2019/05/21 16:18:09 [TRACE] modsdir: writing modules manifest to .terraform/modules/modules.json
Error: Failed to download module
Error attempting to download module "sample" (main.tf:1) source code from
"git::ssh://[email protected]:3789/namutaka/terraform-modules.git":
<nil>
Error: Failed to download module
Error attempting to download module "sample" (main.tf:1) source code from
"git::ssh://[email protected]:3789/namutaka/terraform-modules.git":
<nil>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment