Skip to content

Instantly share code, notes, and snippets.

@marcosdiez
Last active January 5, 2018 11:44
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 marcosdiez/e3fed4bf49274706be3c656b03cc0498 to your computer and use it in GitHub Desktop.
Save marcosdiez/e3fed4bf49274706be3c656b03cc0498 to your computer and use it in GitHub Desktop.
Terraform Trace Log
2018/01/05 09:42:19 [INFO] Terraform version: 0.11.1 a42fdb08a43c7fabb8898fe8c286b793bbaa4835+CHANGES
2018/01/05 09:42:19 [INFO] Go runtime version: go1.9
2018/01/05 09:42:19 [INFO] CLI args: []string{"/mnt/extra/u/rootfs/home/ubuntu/bin/t11", "validate"}
2018/01/05 09:42:19 [DEBUG] Attempting to open CLI config file: /home/mdiez/.terraformrc
2018/01/05 09:42:19 Loading CLI configuration from /home/mdiez/.terraformrc
2018/01/05 09:42:19 [INFO] CLI command args: []string{"validate"}
2018/01/05 09:42:19 [DEBUG] checking for provider in "."
2018/01/05 09:42:19 [DEBUG] checking for provider in "/mnt/extra/u/rootfs/home/ubuntu/bin"
2018/01/05 09:42:19 [DEBUG] checking for provider in ".terraform/plugins/linux_amd64"
2018/01/05 09:42:19 [DEBUG] found provider "terraform-provider-aws_v1.6.0_x4"
2018/01/05 09:42:19 [DEBUG] found valid plugin: "aws"
2018/01/05 09:42:19 [DEBUG] checking for provisioner in "."
2018/01/05 09:42:19 [DEBUG] checking for provisioner in "/mnt/extra/u/rootfs/home/ubuntu/bin"
2018/01/05 09:42:19 [DEBUG] checking for provisioner in ".terraform/plugins/linux_amd64"
2018/01/05 09:42:19 [DEBUG] New state was assigned lineage "98238275-64d9-4c1a-93d3-237566085c6c"
2018/01/05 09:42:19 [INFO] Validating the context...
2018/01/05 09:42:19 [INFO] terraform: building graph: GraphTypeValidate
2018/01/05 09:42:19 [TRACE] ConfigTransformer: Starting for path: []
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.ConfigTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.LocalTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.OutputTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.OrphanResourceTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.OrphanOutputTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
2018/01/05 09:42:19 [TRACE] AttachResourceConfigTransformer: Beginning...
2018/01/05 09:42:19 [TRACE] AttachResourceConfigTransformer: Attach resource config request: aws_security_group.whatever
2018/01/05 09:42:19 [TRACE] Attaching resource config: &config.Resource{Mode:0, Name:"whatever", Type:"aws_security_group", RawCount:(*config.RawConfig)(0xc4204163f0), RawConfig:(*config.RawConfig)(0xc420416310), Provisioners:[]*config.Provisioner(nil), Provider:"", DependsOn:[]string(nil), Lifecycle:config.ResourceLifecycle{CreateBeforeDestroy:false, PreventDestroy:false, IgnoreChanges:[]string(nil)}}
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.AttachResourceConfigTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
2018/01/05 09:42:19 [DEBUG] Resource state not found for "aws_security_group.whatever": aws_security_group.whatever
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.AttachStateTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.RootVariableTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [TRACE] ProviderConfigTransformer: Starting for path: []
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.ProviderConfigTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [DEBUG] adding missing provider: aws
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.MissingProviderTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [DEBUG] resource aws_security_group.whatever using provider provider.aws
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.ProviderTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.PruneProviderTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.ParentProviderTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.graphTransformerMulti:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.MissingProvisionerTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.ProvisionerTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.graphTransformerMulti:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.ModuleVariableTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.RemovedModuleTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [DEBUG] ReferenceTransformer: "aws_security_group.whatever" references: [var.small_string]
2018/01/05 09:42:19 [DEBUG] ReferenceTransformer: "var.small_string" references: []
2018/01/05 09:42:19 [DEBUG] ReferenceTransformer: "provider.aws" references: []
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.ReferenceTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.CountBoundaryTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.TargetsTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.CloseProviderTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
provider.aws - *terraform.NodeApplyableProvider
provider.aws (close) - *terraform.graphNodeCloseProvider
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.CloseProvisionerTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
provider.aws - *terraform.NodeApplyableProvider
provider.aws (close) - *terraform.graphNodeCloseProvider
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.RootTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
provider.aws - *terraform.NodeApplyableProvider
provider.aws (close) - *terraform.graphNodeCloseProvider
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
root - terraform.graphNodeRoot
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
provider.aws (close) - *terraform.graphNodeCloseProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.TransitiveReductionTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
var.small_string - *terraform.NodeRootVariable
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
aws_security_group.whatever - *terraform.NodeValidatableResource
provider.aws - *terraform.NodeApplyableProvider
provider.aws (close) - *terraform.graphNodeCloseProvider
aws_security_group.whatever - *terraform.NodeValidatableResource
root - terraform.graphNodeRoot
meta.count-boundary (count boundary fixup) - *terraform.NodeCountBoundary
provider.aws (close) - *terraform.graphNodeCloseProvider
var.small_string - *terraform.NodeRootVariable
2018/01/05 09:42:19 [DEBUG] Starting graph walk: walkValidate
2018/01/05 09:42:19 [TRACE] dag/walk: added new vertex: "root"
2018/01/05 09:42:19 [TRACE] dag/walk: added new vertex: "aws_security_group.whatever"
2018/01/05 09:42:19 [TRACE] dag/walk: added new vertex: "var.small_string"
2018/01/05 09:42:19 [TRACE] dag/walk: added new vertex: "provider.aws"
2018/01/05 09:42:19 [TRACE] dag/walk: added new vertex: "meta.count-boundary (count boundary fixup)"
2018/01/05 09:42:19 [TRACE] dag/walk: added new vertex: "provider.aws (close)"
2018/01/05 09:42:19 [TRACE] dag/walk: added edge: "root" waiting on "provider.aws (close)"
2018/01/05 09:42:19 [TRACE] dag/walk: added edge: "root" waiting on "meta.count-boundary (count boundary fixup)"
2018/01/05 09:42:19 [TRACE] dag/walk: added edge: "aws_security_group.whatever" waiting on "var.small_string"
2018/01/05 09:42:19 [TRACE] dag/walk: added edge: "provider.aws (close)" waiting on "aws_security_group.whatever"
2018/01/05 09:42:19 [TRACE] dag/walk: added edge: "aws_security_group.whatever" waiting on "provider.aws"
2018/01/05 09:42:19 [TRACE] dag/walk: added edge: "meta.count-boundary (count boundary fixup)" waiting on "aws_security_group.whatever"
2018/01/05 09:42:19 [TRACE] dag/walk: dependencies changed for "root", sending new deps
2018/01/05 09:42:19 [TRACE] dag/walk: dependencies changed for "aws_security_group.whatever", sending new deps
2018/01/05 09:42:19 [TRACE] dag/walk: dependencies changed for "provider.aws (close)", sending new deps
2018/01/05 09:42:19 [TRACE] dag/walk: dependencies changed for "meta.count-boundary (count boundary fixup)", sending new deps
2018/01/05 09:42:19 [TRACE] dag/walk: walking "provider.aws"
2018/01/05 09:42:19 [TRACE] vertex 'root.provider.aws': walking
2018/01/05 09:42:19 [TRACE] vertex 'root.provider.aws': evaluating
2018/01/05 09:42:19 [TRACE] [walkValidate] Entering eval tree: provider.aws
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalSequence
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalInitProvider
2018-01-05T09:42:19.553-0200 [DEBUG] plugin: starting plugin: path=/home/mdiez/pds/terraform/test_tf/test7/.terraform/plugins/linux_amd64/terraform-provider-aws_v1.6.0_x4 args=[/home/mdiez/pds/terraform/test_tf/test7/.terraform/plugins/linux_amd64/terraform-provider-aws_v1.6.0_x4]
2018/01/05 09:42:19 [TRACE] dag/walk: walking "var.small_string"
2018/01/05 09:42:19 [TRACE] vertex 'root.var.small_string': walking
2018-01-05T09:42:19.553-0200 [DEBUG] plugin: waiting for RPC address: path=/home/mdiez/pds/terraform/test_tf/test7/.terraform/plugins/linux_amd64/terraform-provider-aws_v1.6.0_x4
2018-01-05T09:42:19.562-0200 [DEBUG] plugin.terraform-provider-aws_v1.6.0_x4: plugin address: timestamp=2018-01-05T09:42:19.562-0200 address=/tmp/plugin012771904 network=unix
2018/01/05 09:42:19 [TRACE] root: eval: terraform.EvalNoop
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalOpFilter
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalSequence
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalGetProvider
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalInterpolateProvider
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalBuildProviderConfig
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalValidateProvider
2018/01/05 09:42:19 [ERROR] root: eval: *terraform.EvalValidateProvider, err: Warnings: []. Errors: ["region": required field is not set]
2018/01/05 09:42:19 [ERROR] root: eval: *terraform.EvalSequence, err: Warnings: []. Errors: ["region": required field is not set]
2018/01/05 09:42:19 [ERROR] root: eval: *terraform.EvalOpFilter, err: Warnings: []. Errors: ["region": required field is not set]
2018/01/05 09:42:19 [ERROR] root: eval: *terraform.EvalSequence, err: Warnings: []. Errors: ["region": required field is not set]
2018/01/05 09:42:19 [TRACE] [walkValidate] Exiting eval tree: provider.aws
2018/01/05 09:42:19 [TRACE] dag/walk: walking "aws_security_group.whatever"
2018/01/05 09:42:19 [TRACE] vertex 'root.aws_security_group.whatever': walking
2018/01/05 09:42:19 [TRACE] vertex 'root.aws_security_group.whatever': evaluating
2018/01/05 09:42:19 [TRACE] [walkValidate] Entering eval tree: aws_security_group.whatever
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalSequence
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalInterpolate
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalIf
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalValidateCount
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalCountFixZeroOneBoundary
2018/01/05 09:42:19 [TRACE] [walkValidate] Exiting eval tree: aws_security_group.whatever
2018/01/05 09:42:19 [TRACE] vertex 'root.aws_security_group.whatever': expanding/walking dynamic subgraph
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.ResourceCountTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResourceInstance
2018/01/05 09:42:19 [DEBUG] Resource state not found for "aws_security_group.whatever": aws_security_group.whatever
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.AttachStateTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResourceInstance
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.TargetsTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResourceInstance
2018/01/05 09:42:19 [DEBUG] ReferenceTransformer: "aws_security_group.whatever" references: []
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.ReferenceTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResourceInstance
2018/01/05 09:42:19 [TRACE] Graph after step *terraform.RootTransformer:
aws_security_group.whatever - *terraform.NodeValidatableResourceInstance
2018/01/05 09:42:19 [TRACE] dag/walk: added new vertex: "aws_security_group.whatever"
2018/01/05 09:42:19 [TRACE] dag/walk: walking "aws_security_group.whatever"
2018/01/05 09:42:19 [TRACE] vertex 'root.aws_security_group.whatever': walking
2018/01/05 09:42:19 [TRACE] vertex 'root.aws_security_group.whatever': evaluating
2018/01/05 09:42:19 [TRACE] [walkValidate] Entering eval tree: aws_security_group.whatever
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalSequence
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalValidateResourceSelfRef
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalGetProvider
2018/01/05 09:42:19 [TRACE] root: eval: *terraform.EvalInterpolate
panic: runtime error: slice bounds out of range
goroutine 12 [running]:
github.com/hashicorp/terraform/config.interpolationFuncSubstr.func1(0xc4203dfc50, 0x3, 0x3, 0xc4203dfc50, 0x3, 0x3, 0x8)
/opt/gopath/src/github.com/hashicorp/terraform/config/interpolate_funcs.go:1560 +0x294
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil.(*evalCall).Eval(0xc4202ee2c8, 0x3ba38e0, 0xc420415180, 0xc4202f5e90, 0x0, 0x0, 0xc4201b2440, 0xc4202f5e90, 0xc420422f00)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/eval.go:283 +0x33d
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil.(*evalVisitor).visit(0xc4202f5e80, 0x3bab520, 0xc42007c640, 0x3, 0xc4203dfbe0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/eval.go:215 +0x10d
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil.(*evalVisitor).(github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil.visit)-fm(0x3bab520, 0xc42007c640, 0x3bab520, 0xc42007c730)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/eval.go:175 +0x3e
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/ast.(*Call).Accept(0xc42007c640, 0xc4204154d0, 0x3bab5e0, 0xc4202f5880)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/ast/call.go:20 +0xf3
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/ast.(*Output).Accept(0xc4202f5d80, 0xc4204154d0, 0xc4202f5e80, 0x7fe648a886f0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/ast/output.go:20 +0x76
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil.(*evalVisitor).Visit(0xc4202f5e80, 0x3bab620, 0xc4202f5d80, 0x0, 0x0, 0x0, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/eval.go:175 +0xaa
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil.internalEval(0x3bab620, 0xc4202f5d80, 0xc42040d3c0, 0x9f048f, 0xc4204744e0, 0x3bab620, 0xc4202f5d80, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/eval.go:153 +0x7f4
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil.Eval(0x3bab620, 0xc4202f5d80, 0xc42040d3c0, 0x0, 0x3bab620, 0xc4202f5d80, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/eval.go:52 +0x49
github.com/hashicorp/terraform/config.(*RawConfig).Interpolate.func1(0x3bab620, 0xc4202f5d80, 0x3bab620, 0xc4202f5d80, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/config/raw_config.go:178 +0x42
github.com/hashicorp/terraform/config.(*interpolationWalker).Primitive(0xc42024c300, 0x1fe8620, 0xc4204152d0, 0x94, 0xc42024c300, 0xc420414d01)
/opt/gopath/src/github.com/hashicorp/terraform/config/interpolate_walk.go:147 +0x145
github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk.walkPrimitive(0x1fe8620, 0xc4204152d0, 0x94, 0x2392dc0, 0xc42024c300, 0x98, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk/reflectwalk.go:240 +0x80
github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk.walk(0x1fe8620, 0xc4204152d0, 0x94, 0x2392dc0, 0xc42024c300, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk/reflectwalk.go:171 +0x1f7
github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk.walkMap(0x2033c60, 0xc4203df830, 0x15, 0x2392dc0, 0xc42024c300, 0x7fe648a43900, 0x3d020423628)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk/reflectwalk.go:222 +0x2f1
github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk.walk(0x2033c60, 0xc4203df830, 0x15, 0x2392dc0, 0xc42024c300, 0x1, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk/reflectwalk.go:174 +0x2a8
github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk.Walk(0x2033c60, 0xc4203df830, 0x2392dc0, 0xc42024c300, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk/reflectwalk.go:84 +0x131
github.com/hashicorp/terraform/config.(*RawConfig).interpolate(0xc4201aa9a0, 0xc420415190, 0xc4201aa9e8, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/config/raw_config.go:286 +0x160
github.com/hashicorp/terraform/config.(*RawConfig).Interpolate(0xc4201aa9a0, 0xc4203df740, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/config/raw_config.go:175 +0xd9
github.com/hashicorp/terraform/terraform.(*BuiltinEvalContext).Interpolate(0xc42043e270, 0xc4201aa9a0, 0xc4203c2820, 0xc420423830, 0x4dc020, 0xc42007c0f0)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/eval_context_builtin.go:249 +0x106
github.com/hashicorp/terraform/terraform.(*EvalInterpolate).Eval(0xc42040d2c0, 0x3bb57a0, 0xc42043e270, 0x2, 0x2, 0x25764e5, 0x4)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/eval_interpolate.go:19 +0x4e
github.com/hashicorp/terraform/terraform.EvalRaw(0x3b98de0, 0xc42040d2c0, 0x3bb57a0, 0xc42043e270, 0x0, 0x0, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/eval.go:53 +0x173
github.com/hashicorp/terraform/terraform.(*EvalSequence).Eval(0xc42040d2e0, 0x3bb57a0, 0xc42043e270, 0x2, 0x2, 0x25764e5, 0x4)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/eval_sequence.go:14 +0x7e
github.com/hashicorp/terraform/terraform.EvalRaw(0x3b99120, 0xc42040d2e0, 0x3bb57a0, 0xc42043e270, 0x1fe6700, 0x3bb7126, 0x1df5280, 0xc420415060)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/eval.go:53 +0x173
github.com/hashicorp/terraform/terraform.Eval(0x3b99120, 0xc42040d2e0, 0x3bb57a0, 0xc42043e270, 0xc42040d2e0, 0x3b99120, 0xc42040d2e0, 0x489674)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/eval.go:34 +0x4d
github.com/hashicorp/terraform/terraform.(*Graph).walk.func1(0x248b1a0, 0xc4202ee1f0, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/graph.go:126 +0xd0d
github.com/hashicorp/terraform/dag.(*Walker).walkVertex(0xc4201aa930, 0x248b1a0, 0xc4202ee1f0, 0xc4202f4c00)
/opt/gopath/src/github.com/hashicorp/terraform/dag/walk.go:387 +0x3c1
created by github.com/hashicorp/terraform/dag.(*Walker).Update
/opt/gopath/src/github.com/hashicorp/terraform/dag/walk.go:310 +0x1364
panic: runtime error: slice bounds out of range
goroutine 12 [running]:
github.com/hashicorp/terraform/config.interpolationFuncSubstr.func1(0xc4203dfc50, 0x3, 0x3, 0xc4203dfc50, 0x3, 0x3, 0x8)
/opt/gopath/src/github.com/hashicorp/terraform/config/interpolate_funcs.go:1560 +0x294
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil.(*evalCall).Eval(0xc4202ee2c8, 0x3ba38e0, 0xc420415180, 0xc4202f5e90, 0x0, 0x0, 0xc4201b2440, 0xc4202f5e90, 0xc420422f00)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/eval.go:283 +0x33d
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil.(*evalVisitor).visit(0xc4202f5e80, 0x3bab520, 0xc42007c640, 0x3, 0xc4203dfbe0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/eval.go:215 +0x10d
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil.(*evalVisitor).(github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil.visit)-fm(0x3bab520, 0xc42007c640, 0x3bab520, 0xc42007c730)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/eval.go:175 +0x3e
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/ast.(*Call).Accept(0xc42007c640, 0xc4204154d0, 0x3bab5e0, 0xc4202f5880)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/ast/call.go:20 +0xf3
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/ast.(*Output).Accept(0xc4202f5d80, 0xc4204154d0, 0xc4202f5e80, 0x7fe648a886f0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/ast/output.go:20 +0x76
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil.(*evalVisitor).Visit(0xc4202f5e80, 0x3bab620, 0xc4202f5d80, 0x0, 0x0, 0x0, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/eval.go:175 +0xaa
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil.internalEval(0x3bab620, 0xc4202f5d80, 0xc42040d3c0, 0x9f048f, 0xc4204744e0, 0x3bab620, 0xc4202f5d80, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/eval.go:153 +0x7f4
github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil.Eval(0x3bab620, 0xc4202f5d80, 0xc42040d3c0, 0x0, 0x3bab620, 0xc4202f5d80, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/hashicorp/hil/eval.go:52 +0x49
github.com/hashicorp/terraform/config.(*RawConfig).Interpolate.func1(0x3bab620, 0xc4202f5d80, 0x3bab620, 0xc4202f5d80, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/config/raw_config.go:178 +0x42
github.com/hashicorp/terraform/config.(*interpolationWalker).Primitive(0xc42024c300, 0x1fe8620, 0xc4204152d0, 0x94, 0xc42024c300, 0xc420414d01)
/opt/gopath/src/github.com/hashicorp/terraform/config/interpolate_walk.go:147 +0x145
github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk.walkPrimitive(0x1fe8620, 0xc4204152d0, 0x94, 0x2392dc0, 0xc42024c300, 0x98, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk/reflectwalk.go:240 +0x80
github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk.walk(0x1fe8620, 0xc4204152d0, 0x94, 0x2392dc0, 0xc42024c300, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk/reflectwalk.go:171 +0x1f7
github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk.walkMap(0x2033c60, 0xc4203df830, 0x15, 0x2392dc0, 0xc42024c300, 0x7fe648a43900, 0x3d020423628)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk/reflectwalk.go:222 +0x2f1
github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk.walk(0x2033c60, 0xc4203df830, 0x15, 0x2392dc0, 0xc42024c300, 0x1, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk/reflectwalk.go:174 +0x2a8
github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk.Walk(0x2033c60, 0xc4203df830, 0x2392dc0, 0xc42024c300, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/vendor/github.com/mitchellh/reflectwalk/reflectwalk.go:84 +0x131
github.com/hashicorp/terraform/config.(*RawConfig).interpolate(0xc4201aa9a0, 0xc420415190, 0xc4201aa9e8, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/config/raw_config.go:286 +0x160
github.com/hashicorp/terraform/config.(*RawConfig).Interpolate(0xc4201aa9a0, 0xc4203df740, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/config/raw_config.go:175 +0xd9
github.com/hashicorp/terraform/terraform.(*BuiltinEvalContext).Interpolate(0xc42043e270, 0xc4201aa9a0, 0xc4203c2820, 0xc420423830, 0x4dc020, 0xc42007c0f0)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/eval_context_builtin.go:249 +0x106
github.com/hashicorp/terraform/terraform.(*EvalInterpolate).Eval(0xc42040d2c0, 0x3bb57a0, 0xc42043e270, 0x2, 0x2, 0x25764e5, 0x4)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/eval_interpolate.go:19 +0x4e
github.com/hashicorp/terraform/terraform.EvalRaw(0x3b98de0, 0xc42040d2c0, 0x3bb57a0, 0xc42043e270, 0x0, 0x0, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/eval.go:53 +0x173
github.com/hashicorp/terraform/terraform.(*EvalSequence).Eval(0xc42040d2e0, 0x3bb57a0, 0xc42043e270, 0x2, 0x2, 0x25764e5, 0x4)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/eval_sequence.go:14 +0x7e
github.com/hashicorp/terraform/terraform.EvalRaw(0x3b99120, 0xc42040d2e0, 0x3bb57a0, 0xc42043e270, 0x1fe6700, 0x3bb7126, 0x1df5280, 0xc420415060)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/eval.go:53 +0x173
github.com/hashicorp/terraform/terraform.Eval(0x3b99120, 0xc42040d2e0, 0x3bb57a0, 0xc42043e270, 0xc42040d2e0, 0x3b99120, 0xc42040d2e0, 0x489674)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/eval.go:34 +0x4d
github.com/hashicorp/terraform/terraform.(*Graph).walk.func1(0x248b1a0, 0xc4202ee1f0, 0x0, 0x0)
/opt/gopath/src/github.com/hashicorp/terraform/terraform/graph.go:126 +0xd0d
github.com/hashicorp/terraform/dag.(*Walker).walkVertex(0xc4201aa930, 0x248b1a0, 0xc4202ee1f0, 0xc4202f4c00)
/opt/gopath/src/github.com/hashicorp/terraform/dag/walk.go:387 +0x3c1
created by github.com/hashicorp/terraform/dag.(*Walker).Update
/opt/gopath/src/github.com/hashicorp/terraform/dag/walk.go:310 +0x1364
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Terraform crashed! This is always indicative of a bug within Terraform.
A crash log has been placed at "crash.log" relative to your current
working directory. It would be immensely helpful if you could please
report the crash with Terraform[1] so that we can fix this.
When reporting bugs, please include your terraform version. That
information is available on the first line of crash.log. You can also
get it by running 'terraform --version' on the command line.
[1]: https://github.com/hashicorp/terraform/issues
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment