Skip to content

Instantly share code, notes, and snippets.

@bsiegel
Created April 3, 2017 16:57
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 bsiegel/99f90ad9c7e4d4f10c590d21f37f98f8 to your computer and use it in GitHub Desktop.
Save bsiegel/99f90ad9c7e4d4f10c590d21f37f98f8 to your computer and use it in GitHub Desktop.
2017/04/03 12:52:50 [INFO] Terraform version: 0.9.2
2017/04/03 12:52:50 [INFO] Go runtime version: go1.8
2017/04/03 12:52:50 [INFO] CLI args: []string{"/usr/local/Cellar/terraform/0.9.2/bin/terraform", "plan"}
2017/04/03 12:52:50 [DEBUG] Detected home directory from env var: /Users/brandon
2017/04/03 12:52:50 [DEBUG] Detected home directory from env var: /Users/brandon
2017/04/03 12:52:50 [DEBUG] Attempting to open CLI config file: /Users/brandon/.terraformrc
2017/04/03 12:52:50 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2017/04/03 12:52:50 [DEBUG] Detected home directory from env var: /Users/brandon
2017/04/03 12:52:50 [INFO] CLI command args: []string{"plan"}
2017/04/03 12:52:50 [DEBUG] command: loading backend config file: /Users/brandon/Desktop/example
2017/04/03 12:52:50 [DEBUG] command: no data state file found for backend config
2017/04/03 12:52:50 [DEBUG] New state was assigned lineage "288f0bdd-5655-4b38-aca3-b5bf850f6457"
2017/04/03 12:52:50 [INFO] command: backend initialized: <nil>
2017/04/03 12:52:50 [INFO] command: backend <nil> is not enhanced, wrapping in local
2017/04/03 12:52:50 [INFO] backend/local: starting Plan operation
2017/04/03 12:52:50 [DEBUG] New state was assigned lineage "3204380a-ef86-4e8b-a6f2-fec78e5532ce"
2017/04/03 12:52:50 [INFO] terraform: building graph: GraphTypeInput
2017/04/03 12:52:50 [TRACE] ConfigTransformer: Starting for path: []
2017/04/03 12:52:50 [TRACE] ConfigTransformer: Starting for path: [test_module]
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.ConfigTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.OutputTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.OrphanResourceTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
2017/04/03 12:52:50 [TRACE] AttachResourceConfigTransformer: Beginning...
2017/04/03 12:52:50 [TRACE] AttachResourceConfigTransformer: Attach resource config request: module.test_module.aws_lambda_function.function
2017/04/03 12:52:50 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"function", Type:"aws_lambda_function", RawCount:(*config.RawConfig)(0xc420357140), RawConfig:(*config.RawConfig)(0xc420356a80), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2017/04/03 12:52:50 [TRACE] AttachResourceConfigTransformer: Attach resource config request: aws_s3_bucket.example
2017/04/03 12:52:50 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"example", Type:"aws_s3_bucket", RawCount:(*config.RawConfig)(0xc4201dde60), RawConfig:(*config.RawConfig)(0xc4201ddce0), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.AttachResourceConfigTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
2017/04/03 12:52:50 [DEBUG] Resource state not found for "aws_s3_bucket.example": aws_s3_bucket.example
2017/04/03 12:52:50 [DEBUG] Resource state not found for "module.test_module.aws_lambda_function.function": module.test_module.aws_lambda_function.function
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.AttachStateTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.RootVariableTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.MissingProviderTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
module.test_module.provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.ProviderTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
provider.aws - *terraform.NodeApplyableProvider
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
module.test_module.provider.aws - *terraform.NodeApplyableProvider
module.test_module.provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.DisableProviderTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
provider.aws - *terraform.NodeApplyableProvider
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
module.test_module.provider.aws - *terraform.NodeApplyableProvider
module.test_module.provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.ParentProviderTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
provider.aws - *terraform.NodeApplyableProvider
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
module.test_module.provider.aws - *terraform.NodeApplyableProvider
module.test_module.provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
2017/04/03 12:52:50 [TRACE] Attach provider request: []string{"test_module"} aws
2017/04/03 12:52:50 [TRACE] Attach provider request: []string{} aws
2017/04/03 12:52:50 [TRACE] Attaching provider config: *config.ProviderConfig{Name:"aws", Alias:"", RawConfig:(*config.RawConfig)(0xc4201dda40)}
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.AttachProviderConfigTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
provider.aws - *terraform.NodeApplyableProvider
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
module.test_module.provider.aws - *terraform.NodeApplyableProvider
module.test_module.provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.ModuleVariableTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
provider.aws - *terraform.NodeApplyableProvider
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
module.test_module.provider.aws - *terraform.NodeApplyableProvider
module.test_module.provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
module.test_module.var.configuration - *terraform.NodeApplyableModuleVariable
provider.aws - *terraform.NodeApplyableProvider
2017/04/03 12:52:50 [DEBUG] ReferenceTransformer: "aws_s3_bucket.example" references: []
2017/04/03 12:52:50 [DEBUG] ReferenceTransformer: "module.test_module.aws_lambda_function.function" references: [module.test_module.var.configuration]
2017/04/03 12:52:50 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2017/04/03 12:52:50 [DEBUG] ReferenceTransformer: "module.test_module.provider.aws" references: []
2017/04/03 12:52:50 [DEBUG] ReferenceTransformer: "module.test_module.var.configuration" references: []
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.ReferenceTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
provider.aws - *terraform.NodeApplyableProvider
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
module.test_module.provider.aws - *terraform.NodeApplyableProvider
module.test_module.var.configuration - *terraform.NodeApplyableModuleVariable
module.test_module.provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
module.test_module.var.configuration - *terraform.NodeApplyableModuleVariable
provider.aws - *terraform.NodeApplyableProvider
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.TargetsTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
provider.aws - *terraform.NodeApplyableProvider
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
module.test_module.provider.aws - *terraform.NodeApplyableProvider
module.test_module.var.configuration - *terraform.NodeApplyableModuleVariable
module.test_module.provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
module.test_module.var.configuration - *terraform.NodeApplyableModuleVariable
provider.aws - *terraform.NodeApplyableProvider
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.RootTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
provider.aws - *terraform.NodeApplyableProvider
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
module.test_module.provider.aws - *terraform.NodeApplyableProvider
module.test_module.var.configuration - *terraform.NodeApplyableModuleVariable
module.test_module.provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
module.test_module.var.configuration - *terraform.NodeApplyableModuleVariable
provider.aws - *terraform.NodeApplyableProvider
root - terraform.graphNodeRoot
aws_s3_bucket.example - *terraform.NodeAbstractResource
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
2017/04/03 12:52:50 [TRACE] Graph after step *terraform.TransitiveReductionTransformer:
aws_s3_bucket.example - *terraform.NodeAbstractResource
provider.aws - *terraform.NodeApplyableProvider
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
module.test_module.provider.aws - *terraform.NodeApplyableProvider
module.test_module.var.configuration - *terraform.NodeApplyableModuleVariable
module.test_module.provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
module.test_module.var.configuration - *terraform.NodeApplyableModuleVariable
provider.aws - *terraform.NodeApplyableProvider
root - terraform.graphNodeRoot
aws_s3_bucket.example - *terraform.NodeAbstractResource
module.test_module.aws_lambda_function.function - *terraform.NodeAbstractResource
2017/04/03 12:52:50 [DEBUG] Starting graph walk: walkInput
2017/04/03 12:52:50 [DEBUG] dag/walk: added new vertex: "module.test_module.var.configuration"
2017/04/03 12:52:50 [DEBUG] dag/walk: added new vertex: "root"
2017/04/03 12:52:50 [DEBUG] dag/walk: added new vertex: "aws_s3_bucket.example"
2017/04/03 12:52:50 [DEBUG] dag/walk: added new vertex: "module.test_module.aws_lambda_function.function"
2017/04/03 12:52:50 [DEBUG] dag/walk: added new vertex: "provider.aws"
2017/04/03 12:52:50 [DEBUG] dag/walk: added new vertex: "module.test_module.provider.aws"
2017/04/03 12:52:50 [DEBUG] dag/walk: added edge: "module.test_module.aws_lambda_function.function" waiting on "module.test_module.provider.aws"
2017/04/03 12:52:50 [DEBUG] dag/walk: added edge: "aws_s3_bucket.example" waiting on "provider.aws"
2017/04/03 12:52:50 [DEBUG] dag/walk: added edge: "module.test_module.provider.aws" waiting on "provider.aws"
2017/04/03 12:52:50 [DEBUG] dag/walk: added edge: "module.test_module.aws_lambda_function.function" waiting on "module.test_module.var.configuration"
2017/04/03 12:52:50 [DEBUG] dag/walk: added edge: "root" waiting on "aws_s3_bucket.example"
2017/04/03 12:52:50 [DEBUG] dag/walk: added edge: "root" waiting on "module.test_module.aws_lambda_function.function"
2017/04/03 12:52:50 [DEBUG] dag/walk: dependencies changed for "module.test_module.aws_lambda_function.function", sending new deps
2017/04/03 12:52:50 [DEBUG] dag/walk: dependencies changed for "aws_s3_bucket.example", sending new deps
2017/04/03 12:52:50 [DEBUG] dag/walk: dependencies changed for "module.test_module.provider.aws", sending new deps
2017/04/03 12:52:50 [DEBUG] dag/walk: dependencies changed for "root", sending new deps
2017/04/03 12:52:50 [DEBUG] dag/walk: walking "module.test_module.var.configuration"
2017/04/03 12:52:50 [DEBUG] vertex 'root.module.test_module.var.configuration': walking
2017/04/03 12:52:50 [DEBUG] dag/walk: walking "provider.aws"
2017/04/03 12:52:50 [DEBUG] vertex 'root.provider.aws': walking
2017/04/03 12:52:50 [DEBUG] vertex 'root.module.test_module.var.configuration': evaluating
2017/04/03 12:52:50 [DEBUG] vertex 'root.provider.aws': evaluating
2017/04/03 12:52:50 [TRACE] [walkInput] Entering eval tree: module.test_module.var.configuration
2017/04/03 12:52:50 [TRACE] [walkInput] Entering eval tree: provider.aws
2017/04/03 12:52:50 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/03 12:52:50 [DEBUG] root: eval: *terraform.EvalInterpolate
2017/04/03 12:52:50 [DEBUG] root: eval: *terraform.EvalSequence
2017/04/03 12:52:50 [DEBUG] root: eval: *terraform.EvalInitProvider
2017/04/03 12:52:50 [DEBUG] plugin: starting plugin: /usr/local/Cellar/terraform/0.9.2/bin/terraform []string{"/usr/local/Cellar/terraform/0.9.2/bin/terraform", "internal-plugin", "provider", "aws"}
2017/04/03 12:52:50 [DEBUG] root: eval: *terraform.EvalVariableBlock
2017/04/03 12:52:50 [DEBUG] Setting Unknown Variable Value for computed key: configuration.0.environment_vars.0.BUCKET
2017/04/03 12:52:50 [DEBUG] plugin: waiting for RPC address for: /usr/local/Cellar/terraform/0.9.2/bin/terraform
panic: interface conversion: interface {} is []map[string]interface {}, not []interface {}
goroutine 96 [running]:
github.com/hashicorp/terraform/terraform.(*EvalVariableBlock).setUnknownVariableValueForPath(0xc4203243a0, 0xc42043c120, 0x29, 0x1, 0x1)
/private/tmp/terraform-20170331-56057-7aethk/terraform-0.9.2/src/github.com/hashicorp/terraform/terraform/eval_variable.go:179 +0x3f3
github.com/hashicorp/terraform/terraform.(*EvalVariableBlock).Eval(0xc4203243a0, 0x80b86c0, 0xc4201eed20, 0x2, 0x2, 0x58acfee, 0x4)
/private/tmp/terraform-20170331-56057-7aethk/terraform-0.9.2/src/github.com/hashicorp/terraform/terraform/eval_variable.go:150 +0x3bf
github.com/hashicorp/terraform/terraform.EvalRaw(0x8086740, 0xc4203243a0, 0x80b86c0, 0xc4201eed20, 0x0, 0x0, 0x0, 0x0)
/private/tmp/terraform-20170331-56057-7aethk/terraform-0.9.2/src/github.com/hashicorp/terraform/terraform/eval.go:53 +0x175
github.com/hashicorp/terraform/terraform.(*EvalSequence).Eval(0xc420472c20, 0x80b86c0, 0xc4201eed20, 0x2, 0x2, 0x58acfee, 0x4)
/private/tmp/terraform-20170331-56057-7aethk/terraform-0.9.2/src/github.com/hashicorp/terraform/terraform/eval_sequence.go:14 +0xc1
github.com/hashicorp/terraform/terraform.EvalRaw(0x8086440, 0xc420472c20, 0x80b86c0, 0xc4201eed20, 0x4f25880, 0xc42029a028, 0x4c9a8a0, 0xc42029a0d0)
/private/tmp/terraform-20170331-56057-7aethk/terraform-0.9.2/src/github.com/hashicorp/terraform/terraform/eval.go:53 +0x175
github.com/hashicorp/terraform/terraform.Eval(0x8086440, 0xc420472c20, 0x80b86c0, 0xc4201eed20, 0xc420472c20, 0x8086440, 0xc420472c20, 0xc4204a6ea0)
/private/tmp/terraform-20170331-56057-7aethk/terraform-0.9.2/src/github.com/hashicorp/terraform/terraform/eval.go:34 +0x4d
github.com/hashicorp/terraform/terraform.(*Graph).walk.func1(0x543b340, 0xc420165230, 0x0, 0x0)
/private/tmp/terraform-20170331-56057-7aethk/terraform-0.9.2/src/github.com/hashicorp/terraform/terraform/graph.go:126 +0xd4d
github.com/hashicorp/terraform/dag.(*Walker).walkVertex(0xc4202c3a40, 0x543b340, 0xc420165230, 0xc420569f00)
/private/tmp/terraform-20170331-56057-7aethk/terraform-0.9.2/src/github.com/hashicorp/terraform/dag/walk.go:387 +0x392
created by github.com/hashicorp/terraform/dag.(*Walker).Update
/private/tmp/terraform-20170331-56057-7aethk/terraform-0.9.2/src/github.com/hashicorp/terraform/dag/walk.go:310 +0x9ca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment