Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Plan/Apply #3128

Closed
beegmon opened this issue Aug 31, 2015 · 3 comments
Closed

Crash on Plan/Apply #3128

beegmon opened this issue Aug 31, 2015 · 3 comments

Comments

@beegmon
Copy link

beegmon commented Aug 31, 2015

I have recently started updating some stuff I did in terraform a few months ago. However, when I try to plan/apply terraform crashes and gives me a stack trace. Any help would be greatly appreciated.

Thanks!

Version 0.6.3

Output Below:

 terraform plan
Refreshing Terraform state prior to plan...


Error running plan: 2 error(s) occurred:

* 1 error(s) occurred:

* unexpected EOF
* 1 error(s) occurred:

* unexpected EOF
panic: Error reading level config: '' expected type 'string', got unconvertible type '[]interface {}'
2015/08/31 07:13:06 terraform-provider-aws: 
2015/08/31 07:13:06 terraform-provider-aws: goroutine 74 [running]:
2015/08/31 07:13:06 terraform-provider-aws: github.com/hashicorp/terraform/helper/schema.(*ResourceData).get(0xc20839a1e0, 0xc2081c5b10, 0x1, 0x1, 0xc2081c5b02, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/helper/schema/resource_data.go:392 +0x300
2015/08/31 07:13:06 terraform-provider-aws: github.com/hashicorp/terraform/helper/schema.(*ResourceData).getChange(0xc20839a1e0, 0xf21990, 0x9, 0xc2081c1201, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/helper/schema/resource_data.go:356 +0x1d0
2015/08/31 07:13:06 terraform-provider-aws: github.com/hashicorp/terraform/helper/schema.(*ResourceData).diffChange(0xc20839a1e0, 0xf21990, 0x9, 0x0, 0x0, 0x0, 0x0, 0xc2082d4b78)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/helper/schema/resource_data.go:333 +0x87
2015/08/31 07:13:06 terraform-provider-aws: github.com/hashicorp/terraform/helper/schema.schemaMap.diffString(0xc2081c9320, 0xf21990, 0x9, 0xc208311790, 0xc2081c5ad0, 0xc20839a1e0, 0xffffffffffffff00, 0x0, 0x0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/helper/schema/schema.go:899 +0xb4
2015/08/31 07:13:06 terraform-provider-aws: github.com/hashicorp/terraform/helper/schema.schemaMap.diff(0xc2081c9320, 0xf21990, 0x9, 0xc208311790, 0xc2081c5ad0, 0xc20839a1e0, 0x0, 0x0, 0x0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/helper/schema/schema.go:539 +0xbe
2015/08/31 07:13:06 terraform-provider-aws: github.com/hashicorp/terraform/helper/schema.schemaMap.Diff(0xc2081c9320, 0xc20819f350, 0xc20819f410, 0xc2080f09b8, 0x0, 0x0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/helper/schema/schema.go:272 +0x1fb
2015/08/31 07:13:06 terraform-provider-aws: github.com/hashicorp/terraform/helper/schema.(*Resource).Diff(0xc2082ff440, 0xc20819f350, 0xc20819f410, 0x1b, 0x0, 0x0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/helper/schema/resource.go:162 +0x51
2015/08/31 07:13:06 terraform-provider-aws: github.com/hashicorp/terraform/helper/schema.(*Provider).Diff(0xc2081c9950, 0xc2081bfc80, 0xc20819f350, 0xc20819f410, 0xabf2e0, 0x0, 0x0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/helper/schema/provider.go:175 +0x1b9
2015/08/31 07:13:06 terraform-provider-aws: github.com/hashicorp/terraform/rpc.(*ResourceProviderServer).Diff(0xc2082049a0, 0xc2083aac00, 0xc2081c53f0, 0x0, 0x0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/rpc/resource_provider.go:334 +0x7f
2015/08/31 07:13:06 terraform-provider-aws: reflect.Value.call(0xc78800, 0xe60de0, 0x13, 0xecefc0, 0x4, 0xc2083aff28, 0x3, 0x3, 0x0, 0x0, ...)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/go/src/reflect/value.go:419 +0x10e5
2015/08/31 07:13:06 terraform-provider-aws: reflect.Value.Call(0xc78800, 0xe60de0, 0x13, 0xc2083aff28, 0x3, 0x3, 0x0, 0x0, 0x0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/go/src/reflect/value.go:296 +0xbc
2015/08/31 07:13:06 terraform-provider-aws: net/rpc.(*service).call(0xc2082ffb80, 0xc2082ffb40, 0xc208219248, 0xc208300200, 0xc20814f380, 0xabf280, 0xc2083aac00, 0x16, 0xabf2e0, 0xc2081c53f0, ...)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/go/src/net/rpc/server.go:382 +0x1f7
2015/08/31 07:13:06 terraform-provider-aws: created by net/rpc.(*Server).ServeCodec
2015/08/31 07:13:06 terraform-provider-aws:     /opt/go/src/net/rpc/server.go:476 +0x44a
2015/08/31 07:13:06 terraform-provider-aws: 
2015/08/31 07:13:06 terraform-provider-aws: goroutine 1 [IO wait]:
2015/08/31 07:13:06 terraform-provider-aws: net.(*pollDesc).Wait(0xc208011330, 0x72, 0x0, 0x0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/go/src/net/fd_poll_runtime.go:84 +0x47
2015/08/31 07:13:06 terraform-provider-aws: net.(*pollDesc).WaitRead(0xc208011330, 0x0, 0x0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/go/src/net/fd_poll_runtime.go:89 +0x43
2015/08/31 07:13:06 terraform-provider-aws: net.(*netFD).accept(0xc2080112d0, 0x0, 0x7fdfe15b0e50, 0xc20808a9c0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/go/src/net/fd_unix.go:419 +0x40b
2015/08/31 07:13:06 terraform-provider-aws: net.(*UnixListener).AcceptUnix(0xc20801f700, 0x435000, 0x0, 0x0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/go/src/net/unixsock_posix.go:282 +0x56
2015/08/31 07:13:06 terraform-provider-aws: net.(*UnixListener).Accept(0xc20801f700, 0x0, 0x0, 0x0, 0x0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/go/src/net/unixsock_posix.go:293 +0x4c
2015/08/31 07:13:06 terraform-provider-aws: github.com/hashicorp/terraform/rpc.(*Server).Accept(0xc20808a860, 0x7fdfe15b1950, 0xc20801f700)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/rpc/server.go:33 +0x37
2015/08/31 07:13:06 terraform-provider-aws: github.com/hashicorp/terraform/plugin.Serve(0xc20808a840)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/plugin/server.go:88 +0x7e8
2015/08/31 07:13:06 terraform-provider-aws: main.main()
2015/08/31 07:13:06 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/builtin/bins/provider-aws/main.go:11 +0x6d
2015/08/31 07:13:06 terraform-provider-aws: 
2015/08/31 07:13:06 terraform-provider-aws: goroutine 5 [syscall]:
2015/08/31 07:13:06 terraform-provider-aws: os/signal.loop()
2015/08/31 07:13:06 terraform-provider-aws:     /opt/go/src/os/signal/signal_unix.go:21 +0x1f
2015/08/31 07:13:06 terraform-provider-aws: created by os/signal.init·1
2015/08/31 07:13:06 terraform-provider-aws:     /opt/go/src/os/signal/signal_unix.go:27 +0x35
2015/08/31 07:13:06 terraform-provider-aws: 
2015/08/31 07:13:06 terraform-provider-aws: goroutine 7 [chan receive]:
2015/08/31 07:13:06 terraform-provider-aws: github.com/hashicorp/terraform/plugin.func·007()
2015/08/31 07:13:06 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/plugin/server.go:79 +0x69
2015/08/31 07:13:06 terraform-provider-aws: created by github.com/hashicorp/terraform/plugin.Serve
2015/08/31 07:13:06 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/plugin/server.go:85 +0x7c4
2015/08/31 07:13:06 terraform-provider-aws: 
2015/08/31 07:13:06 terraform-provider-aws: goroutine 8 [select]:
2015/08/31 07:13:06 terraform-provider-aws: github.com/hashicorp/yamux.(*Stream).Read(0xc20804c780, 0xc208080000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/yamux/stream.go:125 +0x3ab
2015/08/31 07:13:06 terraform-provider-aws: bufio.(*Reader).fill(0xc2080608a0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/go/src/bufio/bufio.go:97 +0x1ce
2015/08/31 07:13:06 terraform-provider-aws: bufio.(*Reader).Read(0xc2080608a0, 0xc20808aa60, 0x1, 0x9, 0x401192, 0x0, 0x0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/go/src/bufio/bufio.go:174 +0x26c
2015/08/31 07:13:06 terraform-provider-aws: io.ReadAtLeast(0x7fdfe15b2aa8, 0xc2080608a0, 0xc20808aa60, 0x1, 0x9, 0x1, 0x0, 0x0, 0x0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/go/src/io/io.go:298 +0xf1
2015/08/31 07:13:06 terraform-provider-aws: io.ReadFull(0x7fdfe15b2aa8, 0xc2080608a0, 0xc20808aa60, 0x1, 0x9, 0x2c, 0x0, 0x0)
2015/08/31 07:13:06 terraform-provider-aws:     /opt/go/src/io/io.go:316 +0x6d
2015/08/31 07:13:07 terraform-provider-aws: encoding/gob.decodeUintReader(0x7fdfe15b2aa8, 0xc2080608a0, 0xc20808aa60, 0x9, 0x9, 0x0, 0x1, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/encoding/gob/decode.go:121 +0x99
2015/08/31 07:13:07 terraform-provider-aws: encoding/gob.(*Decoder).recvMessage(0xc2080b0580, 0xc20808cfc0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/encoding/gob/decoder.go:76 +0x55
2015/08/31 07:13:07 terraform-provider-aws: encoding/gob.(*Decoder).decodeTypeSequence(0xc2080b0580, 0xc20801f800, 0x16)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/encoding/gob/decoder.go:140 +0x47
2015/08/31 07:13:07 terraform-provider-aws: encoding/gob.(*Decoder).DecodeValue(0xc2080b0580, 0xac5be0, 0xc20801f8c0, 0x16, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/encoding/gob/decoder.go:208 +0x192
2015/08/31 07:13:07 terraform-provider-aws: encoding/gob.(*Decoder).Decode(0xc2080b0580, 0xac5be0, 0xc20801f8c0, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/encoding/gob/decoder.go:185 +0x297
2015/08/31 07:13:07 terraform-provider-aws: net/rpc.(*gobServerCodec).ReadRequestHeader(0xc2080829c0, 0xc20801f8c0, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/rpc/server.go:402 +0x5e
2015/08/31 07:13:07 terraform-provider-aws: net/rpc.(*Server).readRequestHeader(0xc208035e80, 0x7fdfe15b2c08, 0xc2080829c0, 0x0, 0x0, 0xc20801f8c0, 0xc20808aa00, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/rpc/server.go:575 +0x97
2015/08/31 07:13:07 terraform-provider-aws: net/rpc.(*Server).readRequest(0xc208035e80, 0x7fdfe15b2c08, 0xc2080829c0, 0xc2080b0480, 0xc20801fe40, 0xae7660, 0x0, 0x0, 0x0, 0x0, ...)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/rpc/server.go:542 +0xa2
2015/08/31 07:13:07 terraform-provider-aws: net/rpc.(*Server).ServeCodec(0xc208035e80, 0x7fdfe15b2c08, 0xc2080829c0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/rpc/server.go:461 +0x6d
2015/08/31 07:13:07 terraform-provider-aws: net/rpc.(*Server).ServeConn(0xc208035e80, 0x7fdfe15b2b30, 0xc20804c780)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/rpc/server.go:453 +0x208
2015/08/31 07:13:07 terraform-provider-aws: github.com/hashicorp/terraform/rpc.(*Server).ServeConn(0xc20808a860, 0x7fdfe15b2a48, 0xc2080380a0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/rpc/server.go:76 +0x530
2015/08/31 07:13:07 terraform-provider-aws: created by github.com/hashicorp/terraform/rpc.(*Server).Accept
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/rpc/server.go:39 +0x173
2015/08/31 07:13:07 terraform-provider-aws: 
2015/08/31 07:13:07 terraform-provider-aws: goroutine 9 [IO wait]:
2015/08/31 07:13:07 terraform-provider-aws: net.(*pollDesc).Wait(0xc2080113a0, 0x72, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/fd_poll_runtime.go:84 +0x47
2015/08/31 07:13:07 terraform-provider-aws: net.(*pollDesc).WaitRead(0xc2080113a0, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/fd_poll_runtime.go:89 +0x43
2015/08/31 07:13:07 terraform-provider-aws: net.(*netFD).Read(0xc208011340, 0xc208072000, 0x1000, 0x1000, 0x0, 0x7fdfe15b0e50, 0xc2081c5240)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/fd_unix.go:242 +0x40f
2015/08/31 07:13:07 terraform-provider-aws: net.(*conn).Read(0xc2080380a0, 0xc208072000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/net.go:121 +0xdc
2015/08/31 07:13:07 terraform-provider-aws: bufio.(*Reader).fill(0xc208060480)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/bufio/bufio.go:97 +0x1ce
2015/08/31 07:13:07 terraform-provider-aws: bufio.(*Reader).Read(0xc208060480, 0xc20808a9f0, 0xc, 0xc, 0xc2081c5230, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/bufio/bufio.go:174 +0x26c
2015/08/31 07:13:07 terraform-provider-aws: io.ReadAtLeast(0x7fdfe15b2aa8, 0xc208060480, 0xc20808a9f0, 0xc, 0xc, 0xc, 0x0, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/io/io.go:298 +0xf1
2015/08/31 07:13:07 terraform-provider-aws: io.ReadFull(0x7fdfe15b2aa8, 0xc208060480, 0xc20808a9f0, 0xc, 0xc, 0xc, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/io/io.go:316 +0x6d
2015/08/31 07:13:07 terraform-provider-aws: github.com/hashicorp/yamux.(*Session).recvLoop(0xc20804a0b0, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/yamux/session.go:381 +0x10d
2015/08/31 07:13:07 terraform-provider-aws: github.com/hashicorp/yamux.(*Session).recv(0xc20804a0b0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/yamux/session.go:369 +0x28
2015/08/31 07:13:07 terraform-provider-aws: created by github.com/hashicorp/yamux.newSession
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/yamux/session.go:104 +0x499
2015/08/31 07:13:07 terraform-provider-aws: 
2015/08/31 07:13:07 terraform-provider-aws: goroutine 10 [select]:
2015/08/31 07:13:07 terraform-provider-aws: github.com/hashicorp/yamux.(*Session).send(0xc20804a0b0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/yamux/session.go:331 +0x554
2015/08/31 07:13:07 terraform-provider-aws: created by github.com/hashicorp/yamux.newSession
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/yamux/session.go:105 +0x4b3
2015/08/31 07:13:07 terraform-provider-aws: 
2015/08/31 07:13:07 terraform-provider-aws: goroutine 11 [select]:
2015/08/31 07:13:07 terraform-provider-aws: github.com/hashicorp/yamux.(*Session).keepalive(0xc20804a0b0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/yamux/session.go:287 +0x106
2015/08/31 07:13:07 terraform-provider-aws: created by github.com/hashicorp/yamux.newSession
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/yamux/session.go:107 +0x4de
2015/08/31 07:13:07 terraform-provider-aws: 
2015/08/31 07:13:07 terraform-provider-aws: goroutine 13 [select]:
2015/08/31 07:13:07 terraform-provider-aws: github.com/hashicorp/yamux.(*Session).AcceptStream(0xc20804a0b0, 0xc200000004, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/yamux/session.go:191 +0x1a8
2015/08/31 07:13:07 terraform-provider-aws: github.com/hashicorp/terraform/rpc.(*muxBroker).Run(0xc20801f880)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/rpc/mux_broker.go:107 +0x37
2015/08/31 07:13:07 terraform-provider-aws: created by github.com/hashicorp/terraform/rpc.(*Server).ServeConn
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/rpc/server.go:65 +0x388
2015/08/31 07:13:07 terraform-provider-aws: 
2015/08/31 07:13:07 terraform-provider-aws: goroutine 56 [select]:
2015/08/31 07:13:07 terraform-provider-aws: net/http.(*persistConn).writeLoop(0xc20816c370)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/http/transport.go:945 +0x41d
2015/08/31 07:13:07 terraform-provider-aws: created by net/http.(*Transport).dialConn
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/http/transport.go:661 +0xcbc
2015/08/31 07:13:07 terraform-provider-aws: 
2015/08/31 07:13:07 terraform-provider-aws: goroutine 55 [IO wait]:
2015/08/31 07:13:07 terraform-provider-aws: net.(*pollDesc).Wait(0xc20807cb50, 0x72, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/fd_poll_runtime.go:84 +0x47
2015/08/31 07:13:07 terraform-provider-aws: net.(*pollDesc).WaitRead(0xc20807cb50, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/fd_poll_runtime.go:89 +0x43
2015/08/31 07:13:07 terraform-provider-aws: net.(*netFD).Read(0xc20807caf0, 0xc2082e8400, 0x400, 0x400, 0x0, 0x7fdfe15b0e50, 0xc20820b360)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/fd_unix.go:242 +0x40f
2015/08/31 07:13:07 terraform-provider-aws: net.(*conn).Read(0xc208038938, 0xc2082e8400, 0x400, 0x400, 0x0, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/net.go:121 +0xdc
2015/08/31 07:13:07 terraform-provider-aws: crypto/tls.(*block).readFromUntil(0xc2081f47e0, 0x7fdfe15b3730, 0xc208038938, 0x5, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/crypto/tls/conn.go:454 +0xe6
2015/08/31 07:13:07 terraform-provider-aws: crypto/tls.(*Conn).readRecord(0xc20806a000, 0x17, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/crypto/tls/conn.go:539 +0x2da
2015/08/31 07:13:07 terraform-provider-aws: crypto/tls.(*Conn).Read(0xc20806a000, 0xc20800f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/crypto/tls/conn.go:904 +0x166
2015/08/31 07:13:07 terraform-provider-aws: net/http.noteEOFReader.Read(0x7fdfe15b7f60, 0xc20806a000, 0xc20816c3c8, 0xc20800f000, 0x1000, 0x1000, 0xc25240, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/http/transport.go:1270 +0x6e
2015/08/31 07:13:07 terraform-provider-aws: net/http.(*noteEOFReader).Read(0xc20820d1a0, 0xc20800f000, 0x1000, 0x1000, 0xc208012000, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     <autogenerated>:125 +0xd4
2015/08/31 07:13:07 terraform-provider-aws: bufio.(*Reader).fill(0xc208060240)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/bufio/bufio.go:97 +0x1ce
2015/08/31 07:13:07 terraform-provider-aws: bufio.(*Reader).Peek(0xc208060240, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/bufio/bufio.go:132 +0xf0
2015/08/31 07:13:07 terraform-provider-aws: net/http.(*persistConn).readLoop(0xc20816c370)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/http/transport.go:842 +0xa4
2015/08/31 07:13:07 terraform-provider-aws: created by net/http.(*Transport).dialConn
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/http/transport.go:660 +0xc9f
2015/08/31 07:13:07 terraform-provider-aws: 
2015/08/31 07:13:07 terraform-provider-aws: goroutine 58 [select]:
2015/08/31 07:13:07 terraform-provider-aws: github.com/hashicorp/yamux.(*Stream).Read(0xc208100000, 0xc20831f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/yamux/stream.go:125 +0x3ab
2015/08/31 07:13:07 terraform-provider-aws: bufio.(*Reader).fill(0xc2082fc660)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/bufio/bufio.go:97 +0x1ce
2015/08/31 07:13:07 terraform-provider-aws: bufio.(*Reader).Read(0xc2082fc660, 0xc208219280, 0x1, 0x9, 0xc2080f9858, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/bufio/bufio.go:174 +0x26c
2015/08/31 07:13:07 terraform-provider-aws: io.ReadAtLeast(0x7fdfe15b2aa8, 0xc2082fc660, 0xc208219280, 0x1, 0x9, 0x1, 0x0, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/io/io.go:298 +0xf1
2015/08/31 07:13:07 terraform-provider-aws: io.ReadFull(0x7fdfe15b2aa8, 0xc2082fc660, 0xc208219280, 0x1, 0x9, 0x1, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/io/io.go:316 +0x6d
2015/08/31 07:13:07 terraform-provider-aws: encoding/gob.decodeUintReader(0x7fdfe15b2aa8, 0xc2082fc660, 0xc208219280, 0x9, 0x9, 0x0, 0x1, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/encoding/gob/decode.go:121 +0x99
2015/08/31 07:13:07 terraform-provider-aws: encoding/gob.(*Decoder).recvMessage(0xc208300500, 0xc2081387e0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/encoding/gob/decoder.go:76 +0x55
2015/08/31 07:13:07 terraform-provider-aws: encoding/gob.(*Decoder).decodeTypeSequence(0xc208300500, 0xc208143300, 0x16)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/encoding/gob/decoder.go:140 +0x47
2015/08/31 07:13:07 terraform-provider-aws: encoding/gob.(*Decoder).DecodeValue(0xc208300500, 0xac5be0, 0xc2081433c0, 0x16, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/encoding/gob/decoder.go:208 +0x192
2015/08/31 07:13:07 terraform-provider-aws: encoding/gob.(*Decoder).Decode(0xc208300500, 0xac5be0, 0xc2081433c0, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/encoding/gob/decoder.go:185 +0x297
2015/08/31 07:13:07 terraform-provider-aws: net/rpc.(*gobServerCodec).ReadRequestHeader(0xc2081c9b00, 0xc2081433c0, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/rpc/server.go:402 +0x5e
2015/08/31 07:13:07 terraform-provider-aws: net/rpc.(*Server).readRequestHeader(0xc2082ffb40, 0x7fdfe15b2c08, 0xc2081c9b00, 0x0, 0x0, 0xc2081433c0, 0xc208219200, 0x0, 0x0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/rpc/server.go:575 +0x97
2015/08/31 07:13:07 terraform-provider-aws: net/rpc.(*Server).readRequest(0xc2082ffb40, 0x7fdfe15b2c08, 0xc2081c9b00, 0xc208300200, 0xc20814ff60, 0xabf280, 0x0, 0x0, 0x0, 0x0, ...)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/rpc/server.go:542 +0xa2
2015/08/31 07:13:07 terraform-provider-aws: net/rpc.(*Server).ServeCodec(0xc2082ffb40, 0x7fdfe15b2c08, 0xc2081c9b00)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/rpc/server.go:461 +0x6d
2015/08/31 07:13:07 terraform-provider-aws: net/rpc.(*Server).ServeConn(0xc2082ffb40, 0x7fdfe15b2b30, 0xc208100000)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/rpc/server.go:453 +0x208
2015/08/31 07:13:07 terraform-provider-aws: github.com/hashicorp/terraform/rpc.serve(0x7fdfe15b2b30, 0xc208100000, 0xf514d0, 0x10, 0xe60ce0, 0xc2082049a0)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/rpc/server.go:146 +0x1f9
2015/08/31 07:13:07 terraform-provider-aws: github.com/hashicorp/terraform/rpc.func·001()
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/rpc/server.go:102 +0x265
2015/08/31 07:13:07 terraform-provider-aws: created by github.com/hashicorp/terraform/rpc.(*dispenseServer).ResourceProvider
2015/08/31 07:13:07 terraform-provider-aws:     /opt/gopath/src/github.com/hashicorp/terraform/rpc/server.go:103 +0x107
2015/08/31 07:13:07 terraform-provider-aws: 
2015/08/31 07:13:07 terraform-provider-aws: goroutine 65 [syscall, locked to thread]:
2015/08/31 07:13:07 terraform-provider-aws: runtime.goexit()
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/runtime/asm_amd64.s:2232 +0x1
2015/08/31 07:13:07 terraform-provider-aws: 
2015/08/31 07:13:07 terraform-provider-aws: goroutine 75 [runnable]:
2015/08/31 07:13:07 terraform-provider-aws: net/rpc.(*service).call(0xc2082ffb80, 0xc2082ffb40, 0xc208219248, 0xc208300200, 0xc20814ff60, 0xabf280, 0xc2083aaee0, 0x16, 0xabf2e0, 0xc2081c5ac0, ...)
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/rpc/server.go:376
2015/08/31 07:13:07 terraform-provider-aws: created by net/rpc.(*Server).ServeCodec
2015/08/31 07:13:07 terraform-provider-aws:     /opt/go/src/net/rpc/server.go:476 +0x44a
2015/08/31 07:13:07 [ERROR] root: eval: *terraform.EvalDiff, err: unexpected EOF
2015/08/31 07:13:07 [ERROR] root: eval: *terraform.EvalSequence, err: unexpected EOF
2015/08/31 07:13:07 [ERROR] root: eval: *terraform.EvalOpFilter, err: unexpected EOF
2015/08/31 07:13:07 [ERROR] root: eval: *terraform.EvalSequence, err: unexpected EOF
2015/08/31 07:13:07 [ERROR] root: eval: *terraform.EvalDiff, err: unexpected EOF
2015/08/31 07:13:07 [ERROR] root: eval: *terraform.EvalSequence, err: unexpected EOF
2015/08/31 07:13:07 [ERROR] root: eval: *terraform.EvalOpFilter, err: unexpected EOF
2015/08/31 07:13:07 [ERROR] root: eval: *terraform.EvalSequence, err: unexpected EOF
2015/08/31 07:13:07 [DEBUG] /root/code/opstest/tr/terraform-provider-aws: plugin process exited
2015/08/31 07:13:07 [DEBUG] vertex aws_subnet.private_web, got dep: aws_instance.nat
2015/08/31 07:13:07 [DEBUG] vertex aws_subnet.private_web, got dep: var.private_web_cidr_block
2015/08/31 07:13:07 [DEBUG] vertex aws_subnet.private_web, got dep: var.private_web_az
2015/08/31 07:13:07 [DEBUG] vertex aws_subnet.private_web, got dep: var.private_web_name
2015/08/31 07:13:07 [DEBUG] vertex aws_route_table.private, got dep: aws_instance.nat
2015/08/31 07:13:07 [DEBUG] vertex aws_subnet.private_admin, got dep: aws_instance.nat
2015/08/31 07:13:07 [DEBUG] vertex aws_subnet.private_admin, got dep: var.private_admin_name
2015/08/31 07:13:07 [DEBUG] vertex aws_subnet.private_admin, got dep: var.private_admin_cidr_block
2015/08/31 07:13:07 [DEBUG] vertex aws_subnet.private_admin, got dep: var.private_admin_az
2015/08/31 07:13:07 [DEBUG] vertex aws_subnet.private_db, got dep: aws_instance.nat
2015/08/31 07:13:07 [DEBUG] vertex aws_subnet.private_db, got dep: var.private_db_cidr_block
2015/08/31 07:13:07 [DEBUG] vertex aws_subnet.private_db, got dep: var.private_db_az
2015/08/31 07:13:07 [DEBUG] vertex aws_subnet.private_db, got dep: var.private_db_name
2015/08/31 07:13:07 [DEBUG] vertex aws_instance.web, got dep: aws_subnet.private_web
2015/08/31 07:13:07 [DEBUG] vertex aws_instance.web, got dep: var.web_instance_type
2015/08/31 07:13:07 [DEBUG] vertex aws_instance.web, got dep: aws_security_group.web
2015/08/31 07:13:07 [DEBUG] vertex aws_instance.web, got dep: var.web_user_data_file
2015/08/31 07:13:07 [DEBUG] vertex aws_route_table_association.private, got dep: aws_subnet.private_web
2015/08/31 07:13:07 [DEBUG] vertex aws_route_table_association.private, got dep: aws_subnet.private_db
2015/08/31 07:13:07 [DEBUG] vertex aws_route_table_association.private, got dep: aws_subnet.private_admin
2015/08/31 07:13:07 [DEBUG] vertex aws_route_table_association.private, got dep: aws_route_table.private
2015/08/31 07:13:07 [DEBUG] vertex aws_instance.admin, got dep: aws_subnet.private_admin
2015/08/31 07:13:07 [DEBUG] vertex aws_instance.admin, got dep: var.admin_instance_type
2015/08/31 07:13:07 [DEBUG] vertex aws_instance.admin, got dep: aws_security_group.admin
2015/08/31 07:13:07 [DEBUG] vertex aws_instance.db, got dep: aws_subnet.private_db
2015/08/31 07:13:07 [DEBUG] vertex aws_elb.elb_web, got dep: aws_instance.web
2015/08/31 07:13:07 [DEBUG] vertex provider.aws (close), got dep: aws_instance.admin
2015/08/31 07:13:07 [DEBUG] vertex provider.aws (close), got dep: aws_instance.db
2015/08/31 07:13:07 [DEBUG] vertex provider.aws (close), got dep: aws_route_table_association.private
2015/08/31 07:13:07 [DEBUG] vertex provider.aws (close), got dep: aws_route_table_association.public
2015/08/31 07:13:07 [DEBUG] vertex provider.aws (close), got dep: aws_elb.elb_web
2015/08/31 07:13:07 [DEBUG] vertex provider.aws (close), got dep: aws_key_pair.opstest_key
2015/08/31 07:13:07 [DEBUG] vertex root, got dep: provider.aws (close)
2015/08/31 07:13:07 [DEBUG] vertex root, got dep: var.vpc_instance_tenancy_policy
2015/08/31 07:13:07 [DEBUG] vertex root, got dep: provisioner.remote-exec
2015/08/31 07:13:07 [DEBUG] vertex root, got dep: provisioner.local-exec
2015/08/31 07:13:07 waiting for all plugin processes to complete...
2015/08/31 07:13:07 [DEBUG] /root/code/opstest/tr/terraform-provisioner-chef: plugin process exited
2015/08/31 07:13:07 [DEBUG] /root/code/opstest/tr/terraform-provisioner-local-exec: plugin process exited
2015/08/31 07:13:07 [DEBUG] /root/code/opstest/tr/terraform-provisioner-remote-exec: plugin process exited
2015/08/31 07:13:07 [DEBUG] /root/code/opstest/tr/terraform-provisioner-file: plugin process exited



!!!!!!!!!!!!!!!!!!!!!!!!!!! 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 !!!!!!!!!!!!!!!!!!!!!!!!!!!!

terraform --version
Terraform v0.6.3
@apparentlymart
Copy link
Contributor

I think this is the same issue that I tried to fix in #3009.

If so, somewhere in your config you have a list where a plain string is expected. It's a bug that Terraform crashed in this case rather than giving you a useful error, but if you can identify where in your config this is then you can work around it by changing it to a string. You can see another example of this problem in #2984.

If it seems like that's not the problem you have in this case, or you can't find such a thing in your configuration, it'd be helpful if you could share your configuration -- sanitized to hide any secret information -- to help figure out where this error is coming from.

@apparentlymart
Copy link
Contributor

I believe this has been fixed by 8fdffb6.

@ghost
Copy link

ghost commented Apr 30, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants