Skip to content

Instantly share code, notes, and snippets.

@mattupstate
Created July 28, 2014 22:07
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 mattupstate/5eb2e756900ff57f60ce to your computer and use it in GitHub Desktop.
Save mattupstate/5eb2e756900ff57f60ce to your computer and use it in GitHub Desktop.
$ cat crash.log
2014/07/28 17:55:53 [DEBUG] Creating graph...
2014/07/28 17:55:53 [DEBUG] Starting plugin: /Users/matt/.bin/terraform-provider-aws []string{"/Users/matt/.bin/terraform-provider-aws"}
2014/07/28 17:55:53 [DEBUG] Waiting for RPC address for: /Users/matt/.bin/terraform-provider-aws
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 Plugin address: unix /var/folders/9l/3cd7lrfx4gj1ftxjwp2hs7f00000gn/T/tf-plugin223329607
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 Waiting for connection...
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 Serving a plugin connection...
2014/07/28 17:55:53 [DEBUG] Graph created and valid. 14 nouns.
2014/07/28 17:55:53 [INFO] Validating provider: aws
2014/07/28 17:55:53 [INFO] Validating resource: aws_vpc.main
2014/07/28 17:55:53 [INFO] Validating resource: aws_security_group.bastion
2014/07/28 17:55:53 [INFO] Validating resource: aws_security_group.nat
2014/07/28 17:55:53 [INFO] Validating resource: aws_internet_gateway.igw
2014/07/28 17:55:53 [INFO] Validating resource: aws_subnet.public_1
2014/07/28 17:55:53 [INFO] Validating resource: aws_subnet.private_1
2014/07/28 17:55:53 [INFO] Validating resource: aws_instance.nat_1
2014/07/28 17:55:53 [INFO] Validating resource: aws_route_table.public
2014/07/28 17:55:53 [INFO] Validating resource: aws_instance.bastion_1
2014/07/28 17:55:53 [INFO] Validating resource: aws_route_table.private_1
2014/07/28 17:55:53 [INFO] Validating resource: aws_route_table_association.public_1
2014/07/28 17:55:53 [INFO] Validating resource: aws_route_table_association.private_1
2014/07/28 17:55:53 [DEBUG] Creating graph...
2014/07/28 17:55:53 [DEBUG] Starting plugin: /Users/matt/.bin/terraform-provider-aws []string{"/Users/matt/.bin/terraform-provider-aws"}
2014/07/28 17:55:53 [DEBUG] Waiting for RPC address for: /Users/matt/.bin/terraform-provider-aws
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 Plugin address: unix /var/folders/9l/3cd7lrfx4gj1ftxjwp2hs7f00000gn/T/tf-plugin253116648
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 Waiting for connection...
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 Serving a plugin connection...
2014/07/28 17:55:53 [DEBUG] Graph created and valid. 14 nouns.
2014/07/28 17:55:53 [INFO] Configuring provider: aws
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Building AWS auth structure
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Building AWS region structure
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing EC2 connection
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing ELB connection
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing AutoScaling connection
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing S3 connection
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing RDS connection
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing Route53 connection
2014/07/28 17:55:53 [INFO] Walking: aws_security_group.bastion (Graph node: aws_security_group.bastion)
2014/07/28 17:55:53 [DEBUG] aws_security_group.bastion: Not refreshing, ID is empty
2014/07/28 17:55:53 [INFO] Walking: aws_security_group.nat (Graph node: aws_security_group.nat)
2014/07/28 17:55:53 [DEBUG] aws_security_group.nat: Not refreshing, ID is empty
2014/07/28 17:55:53 [INFO] Walking: aws_vpc.main (Graph node: aws_vpc.main)
2014/07/28 17:55:53 [DEBUG] aws_vpc.main: Not refreshing, ID is empty
2014/07/28 17:55:53 [INFO] Walking: aws_subnet.private_1 (Graph node: aws_subnet.private_1)
2014/07/28 17:55:53 [DEBUG] aws_subnet.private_1: Not refreshing, ID is empty
2014/07/28 17:55:53 [INFO] Walking: aws_internet_gateway.igw (Graph node: aws_internet_gateway.igw)
2014/07/28 17:55:53 [DEBUG] aws_internet_gateway.igw: Not refreshing, ID is empty
2014/07/28 17:55:53 [INFO] Walking: aws_route_table.public (Graph node: aws_route_table.public)
2014/07/28 17:55:53 [DEBUG] aws_route_table.public: Not refreshing, ID is empty
2014/07/28 17:55:53 [INFO] Walking: aws_subnet.public_1 (Graph node: aws_subnet.public_1)
2014/07/28 17:55:53 [DEBUG] aws_subnet.public_1: Not refreshing, ID is empty
2014/07/28 17:55:53 [INFO] Walking: aws_instance.bastion_1 (Graph node: aws_instance.bastion_1)
2014/07/28 17:55:53 [DEBUG] aws_instance.bastion_1: Not refreshing, ID is empty
2014/07/28 17:55:53 [INFO] Walking: aws_instance.nat_1 (Graph node: aws_instance.nat_1)
2014/07/28 17:55:53 [DEBUG] aws_instance.nat_1: Not refreshing, ID is empty
2014/07/28 17:55:53 [INFO] Walking: aws_route_table_association.public_1 (Graph node: aws_route_table_association.public_1)
2014/07/28 17:55:53 [DEBUG] aws_route_table_association.public_1: Not refreshing, ID is empty
2014/07/28 17:55:53 [INFO] Walking: aws_route_table.private_1 (Graph node: aws_route_table.private_1)
2014/07/28 17:55:53 [DEBUG] aws_route_table.private_1: Not refreshing, ID is empty
2014/07/28 17:55:53 [INFO] Walking: aws_route_table_association.private_1 (Graph node: aws_route_table_association.private_1)
2014/07/28 17:55:53 [DEBUG] aws_route_table_association.private_1: Not refreshing, ID is empty
2014/07/28 17:55:53 [DEBUG] Creating graph...
2014/07/28 17:55:53 [DEBUG] Starting plugin: /Users/matt/.bin/terraform-provider-aws []string{"/Users/matt/.bin/terraform-provider-aws"}
2014/07/28 17:55:53 [DEBUG] Waiting for RPC address for: /Users/matt/.bin/terraform-provider-aws
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 Plugin address: unix /var/folders/9l/3cd7lrfx4gj1ftxjwp2hs7f00000gn/T/tf-plugin952746515
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 Waiting for connection...
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 Serving a plugin connection...
2014/07/28 17:55:53 [DEBUG] Graph created and valid. 14 nouns.
2014/07/28 17:55:53 [INFO] Configuring provider: aws
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Building AWS auth structure
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Building AWS region structure
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing EC2 connection
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing ELB connection
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing AutoScaling connection
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing S3 connection
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing RDS connection
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing Route53 connection
2014/07/28 17:55:53 [INFO] Walking: aws_security_group.bastion (Graph node: aws_security_group.bastion)
2014/07/28 17:55:53 [DEBUG] aws_security_group.bastion: Executing diff
2014/07/28 17:55:53 [INFO] Walking: aws_vpc.main (Graph node: aws_vpc.main)
2014/07/28 17:55:53 [DEBUG] aws_vpc.main: Executing diff
2014/07/28 17:55:53 [INFO] Walking: aws_security_group.nat (Graph node: aws_security_group.nat)
2014/07/28 17:55:53 [DEBUG] aws_security_group.nat: Executing diff
2014/07/28 17:55:53 [INFO] Walking: aws_subnet.public_1 (Graph node: aws_subnet.public_1)
2014/07/28 17:55:53 [DEBUG] aws_subnet.public_1: Executing diff
2014/07/28 17:55:53 [INFO] Walking: aws_subnet.private_1 (Graph node: aws_subnet.private_1)
2014/07/28 17:55:53 [DEBUG] aws_subnet.private_1: Executing diff
2014/07/28 17:55:53 [INFO] Walking: aws_internet_gateway.igw (Graph node: aws_internet_gateway.igw)
2014/07/28 17:55:53 [DEBUG] aws_internet_gateway.igw: Executing diff
2014/07/28 17:55:53 [INFO] Walking: aws_instance.nat_1 (Graph node: aws_instance.nat_1)
2014/07/28 17:55:53 [DEBUG] aws_instance.nat_1: Executing diff
2014/07/28 17:55:53 [INFO] Walking: aws_instance.bastion_1 (Graph node: aws_instance.bastion_1)
2014/07/28 17:55:53 [DEBUG] aws_instance.bastion_1: Executing diff
2014/07/28 17:55:53 [INFO] Walking: aws_route_table.public (Graph node: aws_route_table.public)
2014/07/28 17:55:53 [DEBUG] aws_route_table.public: Executing diff
2014/07/28 17:55:53 [INFO] Walking: aws_route_table.private_1 (Graph node: aws_route_table.private_1)
2014/07/28 17:55:53 [DEBUG] aws_route_table.private_1: Executing diff
2014/07/28 17:55:53 [INFO] Walking: aws_route_table_association.public_1 (Graph node: aws_route_table_association.public_1)
2014/07/28 17:55:53 [DEBUG] aws_route_table_association.public_1: Executing diff
2014/07/28 17:55:53 [INFO] Walking: aws_route_table_association.private_1 (Graph node: aws_route_table_association.private_1)
2014/07/28 17:55:53 [DEBUG] aws_route_table_association.private_1: Executing diff
2014/07/28 17:55:53 [DEBUG] Creating graph...
2014/07/28 17:55:53 [DEBUG] Starting plugin: /Users/matt/.bin/terraform-provider-aws []string{"/Users/matt/.bin/terraform-provider-aws"}
2014/07/28 17:55:53 [DEBUG] Waiting for RPC address for: /Users/matt/.bin/terraform-provider-aws
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 Plugin address: unix /var/folders/9l/3cd7lrfx4gj1ftxjwp2hs7f00000gn/T/tf-plugin263919507
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 Waiting for connection...
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 Serving a plugin connection...
2014/07/28 17:55:53 [DEBUG] Graph created and valid. 14 nouns.
2014/07/28 17:55:53 [INFO] Apply walk starting
2014/07/28 17:55:53 [INFO] Configuring provider: aws
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Building AWS auth structure
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Building AWS region structure
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing EC2 connection
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing ELB connection
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing AutoScaling connection
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing S3 connection
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing RDS connection
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Initializing Route53 connection
2014/07/28 17:55:53 [INFO] Walking: aws_security_group.bastion (Graph node: aws_security_group.bastion)
2014/07/28 17:55:53 [INFO] Walking: aws_security_group.nat (Graph node: aws_security_group.nat)
2014/07/28 17:55:53 [INFO] Walking: aws_vpc.main (Graph node: aws_vpc.main)
2014/07/28 17:55:53 [DEBUG] aws_security_group.bastion: Executing Apply
2014/07/28 17:55:53 [DEBUG] aws_security_group.nat: Executing Apply
2014/07/28 17:55:53 [DEBUG] aws_vpc.main: Executing Apply
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [DEBUG] Security Group create configuration: ec2.SecurityGroup{Id:"", Name:"bastion", Description:"Bastion instance security group", VpcId:""}
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [DEBUG] Security Group create configuration: ec2.SecurityGroup{Id:"", Name:"nat", Description:"NAT instance security group", VpcId:""}
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [DEBUG] VPC create config: &ec2.CreateVpc{CidrBlock:"10.0.0.0/16", InstanceTenancy:""}
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Security Group ID: sg-1a5cd470
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [DEBUG] Waiting for SG () to exist
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [DEBUG] Waiting for state to become: exists
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [TRACE] Waiting 100ms before next try
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] Security Group ID: sg-185cd472
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [DEBUG] Waiting for SG () to exist
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [DEBUG] Waiting for state to become: exists
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [TRACE] Waiting 100ms before next try
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [INFO] VPC ID: vpc-abee4ece
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [DEBUG] Waiting for VPC (vpc-abee4ece) to become available
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [DEBUG] Waiting for state to become: available
2014/07/28 17:55:53 terraform-provider-aws: 2014/07/28 17:55:53 [TRACE] Waiting 100ms before next try
2014/07/28 17:55:54 terraform-provider-aws: panic: interface conversion: interface is nil, not []interface {}
2014/07/28 17:55:54 terraform-provider-aws:
2014/07/28 17:55:54 terraform-provider-aws: goroutine 39 [running]:
2014/07/28 17:55:54 terraform-provider-aws: runtime.panic(0x444c1c0, 0xc208310680)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/runtime/panic.c:279 +0xf5
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/builtin/providers/aws.expandIPPerms(0xc2083debc0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/builtin/providers/aws/structure.go:76 +0x6c0
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/builtin/providers/aws.resource_aws_security_group_create(0xc208017a90, 0xc2080c7380, 0x4495dc0, 0xc2080042a0, 0xc2080136f0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_security_group.go:70 +0x9b2
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/helper/resource.(*Map).Apply(0xc208038068, 0xc208017a90, 0xc2080c7380, 0x4495dc0, 0xc2080042a0, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/helper/resource/map.go:63 +0x22a
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/builtin/providers/aws.(*ResourceProvider).Apply(0xc2080042a0, 0xc208017a90, 0xc2080c7380, 0x4874a30, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/builtin/providers/aws/resource_provider.go:107 +0x71
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/rpc.(*ResourceProviderServer).Apply(0xc208000de0, 0xc2080caad0, 0xc2080cb020, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/rpc/resource_provider.go:237 +0x6e
2014/07/28 17:55:54 terraform-provider-aws: reflect.Value.call(0x4407c40, 0x4496398, 0x0, 0x130, 0x44c90b0, 0x4, 0xc208005380, 0x3, 0x3, 0x0, ...)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/reflect/value.go:563 +0x1210
2014/07/28 17:55:54 terraform-provider-aws: reflect.Value.Call(0x4407c40, 0x4496398, 0x0, 0x130, 0xc208005380, 0x3, 0x3, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/reflect/value.go:411 +0xd7
2014/07/28 17:55:54 terraform-provider-aws: net/rpc.(*service).call(0xc208017040, 0xc20803b800, 0xc208000e48, 0xc208048090, 0xc2080c63a0, 0x4367be0, 0xc2080caad0, 0x0, 0x160, 0x4367c40, ...)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/rpc/server.go:382 +0x1c7
2014/07/28 17:55:54 terraform-provider-aws: created by net/rpc.(*Server).ServeCodec
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/rpc/server.go:453 +0x427
2014/07/28 17:55:54 terraform-provider-aws:
2014/07/28 17:55:54 terraform-provider-aws: goroutine 16 [IO wait]:
2014/07/28 17:55:54 terraform-provider-aws: net.runtime_pollWait(0x4822b18, 0x72, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/runtime/netpoll.goc:146 +0x66
2014/07/28 17:55:54 terraform-provider-aws: net.(*pollDesc).Wait(0xc208028300, 0x72, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/fd_poll_runtime.go:84 +0x46
2014/07/28 17:55:54 terraform-provider-aws: net.(*pollDesc).WaitRead(0xc208028300, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/fd_poll_runtime.go:89 +0x42
2014/07/28 17:55:54 terraform-provider-aws: net.(*netFD).Read(0xc2080282a0, 0xc2080a6000, 0x1000, 0x1000, 0x0, 0x4821528, 0x23)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/fd_unix.go:232 +0x34c
2014/07/28 17:55:54 terraform-provider-aws: net.(*conn).Read(0xc208038078, 0xc2080a6000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/net.go:122 +0xe7
2014/07/28 17:55:54 terraform-provider-aws: bufio.(*Reader).fill(0xc208004420)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/bufio/bufio.go:97 +0x1b3
2014/07/28 17:55:54 terraform-provider-aws: bufio.(*Reader).Read(0xc208004420, 0xc208000ee0, 0x1, 0x9, 0x1, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/bufio/bufio.go:175 +0x230
2014/07/28 17:55:54 terraform-provider-aws: io.ReadAtLeast(0x4822db0, 0xc208004420, 0xc208000ee0, 0x1, 0x9, 0x1, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/io/io.go:289 +0xf7
2014/07/28 17:55:54 terraform-provider-aws: io.ReadFull(0x4822db0, 0xc208004420, 0xc208000ee0, 0x1, 0x9, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/io/io.go:307 +0x71
2014/07/28 17:55:54 terraform-provider-aws: encoding/gob.decodeUintReader(0x4822db0, 0xc208004420, 0xc208000ee0, 0x9, 0x9, 0x0, 0x1, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/encoding/gob/decode.go:66 +0xa6
2014/07/28 17:55:54 terraform-provider-aws: encoding/gob.(*Decoder).recvMessage(0xc2080a4000, 0xc2080389b0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/encoding/gob/decoder.go:73 +0x57
2014/07/28 17:55:54 terraform-provider-aws: encoding/gob.(*Decoder).decodeTypeSequence(0xc2080a4000, 0xc208041c00, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/encoding/gob/decoder.go:159 +0x49
2014/07/28 17:55:54 terraform-provider-aws: encoding/gob.(*Decoder).DecodeValue(0xc2080a4000, 0x4371600, 0xc208041ca0, 0x0, 0x160, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/encoding/gob/decoder.go:227 +0x193
2014/07/28 17:55:54 terraform-provider-aws: encoding/gob.(*Decoder).Decode(0xc2080a4000, 0x4371600, 0xc208041ca0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/encoding/gob/decoder.go:204 +0x279
2014/07/28 17:55:54 terraform-provider-aws: net/rpc.(*gobServerCodec).ReadRequestHeader(0xc208023e60, 0xc208041ca0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/rpc/server.go:401 +0x5b
2014/07/28 17:55:54 terraform-provider-aws: net/rpc.(*Server).readRequestHeader(0xc20803b800, 0x4822e00, 0xc208023e60, 0x0, 0x0, 0xc208041ca0, 0x45c3200, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/rpc/server.go:552 +0x9b
2014/07/28 17:55:54 terraform-provider-aws: net/rpc.(*Server).readRequest(0xc20803b800, 0x4822e00, 0xc208023e60, 0xc208048090, 0xc208040f00, 0x4367be0, 0x0, 0x0, 0x0, 0x0, ...)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/rpc/server.go:519 +0xbe
2014/07/28 17:55:54 terraform-provider-aws: net/rpc.(*Server).ServeCodec(0xc20803b800, 0x4822e00, 0xc208023e60)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/rpc/server.go:438 +0x69
2014/07/28 17:55:54 terraform-provider-aws: net/rpc.(*Server).ServeConn(0xc20803b800, 0x4822d00, 0xc208038078)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/rpc/server.go:430 +0x170
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/plugin.Serve(0x4495dc0, 0xc2080042a0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/plugin/server.go:88 +0x9b6
2014/07/28 17:55:54 terraform-provider-aws: main.main()
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/builtin/bins/provider-aws/main.go:9 +0x48
2014/07/28 17:55:54 terraform-provider-aws:
2014/07/28 17:55:54 terraform-provider-aws: goroutine 19 [finalizer wait]:
2014/07/28 17:55:54 terraform-provider-aws: runtime.park(0x4014830, 0x4742358, 0x4740dc9)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/runtime/proc.c:1369 +0x89
2014/07/28 17:55:54 terraform-provider-aws: runtime.parkunlock(0x4742358, 0x4740dc9)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/runtime/proc.c:1385 +0x3b
2014/07/28 17:55:54 terraform-provider-aws: runfinq()
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/runtime/mgc0.c:2644 +0xcf
2014/07/28 17:55:54 terraform-provider-aws: runtime.goexit()
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/runtime/proc.c:1445
2014/07/28 17:55:54 terraform-provider-aws:
2014/07/28 17:55:54 terraform-provider-aws: goroutine 20 [syscall]:
2014/07/28 17:55:54 terraform-provider-aws: os/signal.loop()
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
2014/07/28 17:55:54 terraform-provider-aws: created by os/signal.init·1
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/os/signal/signal_unix.go:27 +0x32
2014/07/28 17:55:54 terraform-provider-aws:
2014/07/28 17:55:54 terraform-provider-aws: goroutine 22 [chan receive]:
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/plugin.func·009()
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/plugin/server.go:78 +0x62
2014/07/28 17:55:54 terraform-provider-aws: created by github.com/hashicorp/terraform/plugin.Serve
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/plugin/server.go:84 +0x8b8
2014/07/28 17:55:54 terraform-provider-aws:
2014/07/28 17:55:54 terraform-provider-aws: goroutine 65 [select]:
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*persistConn).roundTrip(0xc2080c0c60, 0xc2083fc0d0, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/transport.go:1015 +0x6db
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*Transport).RoundTrip(0xc20804e600, 0xc208027790, 0x402585a, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/transport.go:208 +0x49a
2014/07/28 17:55:54 terraform-provider-aws: github.com/mitchellh/goamz/aws.(*ResilientTransport).tries(0x47382a0, 0xc208027790, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/mitchellh/goamz/aws/client.go:79 +0x61
2014/07/28 17:55:54 terraform-provider-aws: github.com/mitchellh/goamz/aws.(*ResilientTransport).RoundTrip(0x47382a0, 0xc208027790, 0x171, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/mitchellh/goamz/aws/client.go:70 +0x43
2014/07/28 17:55:54 terraform-provider-aws: net/http.send(0xc208027790, 0x48218f8, 0x47382a0, 0xc2081b8c00, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/client.go:195 +0x43d
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*Client).send(0xc208023890, 0xc208027790, 0x116, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/client.go:118 +0x15b
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*Client).doFollowingRedirects(0xc208023890, 0xc208027790, 0x45c31f0, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/client.go:343 +0x97f
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*Client).Get(0xc208023890, 0xc2083f5560, 0x116, 0x28, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/client.go:275 +0xaf
2014/07/28 17:55:54 terraform-provider-aws: github.com/mitchellh/goamz/ec2.(*EC2).query(0xc208077d40, 0xc2083e4720, 0x436b000, 0xc2083e4750, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/mitchellh/goamz/ec2/ec2.go:145 +0x339
2014/07/28 17:55:54 terraform-provider-aws: github.com/mitchellh/goamz/ec2.(*EC2).DescribeVpcs(0xc208077d40, 0x4c7fdb0, 0x1, 0x1, 0x4c7fd60, 0xc2083e4750, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/mitchellh/goamz/ec2/ec2.go:2203 +0x1a1
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/builtin/providers/aws.func·012(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpc.go:132 +0x12e
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/helper/resource.func·003()
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/helper/resource/wait.go:66 +0x1d6
2014/07/28 17:55:54 terraform-provider-aws: created by github.com/hashicorp/terraform/helper/resource.(*StateChangeConf).WaitForState
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/helper/resource/wait.go:110 +0x1fb
2014/07/28 17:55:54 terraform-provider-aws:
2014/07/28 17:55:54 terraform-provider-aws: goroutine 33 [syscall]:
2014/07/28 17:55:54 terraform-provider-aws: runtime.goexit()
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/runtime/proc.c:1445
2014/07/28 17:55:54 terraform-provider-aws:
2014/07/28 17:55:54 terraform-provider-aws: goroutine 43 [select]:
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*Transport).getConn(0xc20804e600, 0xc208027e10, 0x0, 0xc2083af080, 0x5, 0xc2083e2160, 0x1f, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/transport.go:477 +0x479
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*Transport).RoundTrip(0xc20804e600, 0xc208027e10, 0x402585a, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/transport.go:201 +0x416
2014/07/28 17:55:54 terraform-provider-aws: github.com/mitchellh/goamz/aws.(*ResilientTransport).tries(0x47382a0, 0xc208027e10, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/mitchellh/goamz/aws/client.go:79 +0x61
2014/07/28 17:55:54 terraform-provider-aws: github.com/mitchellh/goamz/aws.(*ResilientTransport).RoundTrip(0x47382a0, 0xc208027e10, 0x308, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/mitchellh/goamz/aws/client.go:70 +0x43
2014/07/28 17:55:54 terraform-provider-aws: net/http.send(0xc208027e10, 0x48218f8, 0x47382a0, 0xc2083cc000, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/client.go:195 +0x43d
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*Client).send(0xc208023890, 0xc208027e10, 0x2ad, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/client.go:118 +0x15b
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*Client).doFollowingRedirects(0xc208023890, 0xc208027e10, 0x45c31f0, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/client.go:343 +0x97f
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*Client).Get(0xc208023890, 0xc2083af080, 0x2ad, 0x28, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/client.go:275 +0xaf
2014/07/28 17:55:54 terraform-provider-aws: github.com/mitchellh/goamz/ec2.(*EC2).query(0xc208077d40, 0xc2083e5410, 0x436a9a0, 0xc2083e54d0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/mitchellh/goamz/ec2/ec2.go:145 +0x339
2014/07/28 17:55:54 terraform-provider-aws: github.com/mitchellh/goamz/ec2.(*EC2).authOrRevoke(0xc208077d40, 0x4529cf0, 0x1d, 0xc20810a480, 0xb, 0xc208000cb0, 0x3, 0x0, 0x0, 0x0, ...)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/mitchellh/goamz/ec2/ec2.go:1800 +0x8b4
2014/07/28 17:55:54 terraform-provider-aws: github.com/mitchellh/goamz/ec2.(*EC2).AuthorizeSecurityGroup(0xc208077d40, 0xc20810a480, 0xb, 0xc208000cb0, 0x3, 0x0, 0x0, 0x0, 0x0, 0xc2080a4a50, ...)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/mitchellh/goamz/ec2/ec2.go:1752 +0xa2
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/builtin/providers/aws.resource_aws_security_group_create(0xc2080161e0, 0xc2080406c0, 0x4495dc0, 0xc2080042a0, 0xc2080136f0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_security_group.go:77 +0xa70
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/helper/resource.(*Map).Apply(0xc208038068, 0xc2080161e0, 0xc2080406c0, 0x4495dc0, 0xc2080042a0, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/helper/resource/map.go:63 +0x22a
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/builtin/providers/aws.(*ResourceProvider).Apply(0xc2080042a0, 0xc2080161e0, 0xc2080406c0, 0x4883a30, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/builtin/providers/aws/resource_provider.go:107 +0x71
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/rpc.(*ResourceProviderServer).Apply(0xc208000de0, 0xc208000a30, 0xc208001780, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/rpc/resource_provider.go:237 +0x6e
2014/07/28 17:55:54 terraform-provider-aws: reflect.Value.call(0x4407c40, 0x4496398, 0x0, 0x130, 0x44c90b0, 0x4, 0xc208004240, 0x3, 0x3, 0x0, ...)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/reflect/value.go:563 +0x1210
2014/07/28 17:55:54 terraform-provider-aws: reflect.Value.Call(0x4407c40, 0x4496398, 0x0, 0x130, 0xc208004240, 0x3, 0x3, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/reflect/value.go:411 +0xd7
2014/07/28 17:55:54 terraform-provider-aws: net/rpc.(*service).call(0xc208017040, 0xc20803b800, 0xc208000e48, 0xc208048090, 0xc208041440, 0x4367be0, 0xc208000a30, 0x0, 0x160, 0x4367c40, ...)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/rpc/server.go:382 +0x1c7
2014/07/28 17:55:54 terraform-provider-aws: created by net/rpc.(*Server).ServeCodec
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/rpc/server.go:453 +0x427
2014/07/28 17:55:54 terraform-provider-aws:
2014/07/28 17:55:54 terraform-provider-aws: goroutine 44 [select]:
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/helper/resource.(*StateChangeConf).WaitForState(0xc20811e550, 0x0, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/helper/resource/wait.go:112 +0x3df
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/builtin/providers/aws.resource_aws_vpc_create(0xc208017130, 0xc208041c40, 0x4495dc0, 0xc2080042a0, 0xc208013900, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/builtin/providers/aws/resource_aws_vpc.go:49 +0x5a5
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/helper/resource.(*Map).Apply(0xc208038068, 0xc2080166e0, 0xc208041c40, 0x4495dc0, 0xc2080042a0, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/helper/resource/map.go:63 +0x22a
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/builtin/providers/aws.(*ResourceProvider).Apply(0xc2080042a0, 0xc2080166e0, 0xc208041c40, 0x48a1a30, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/builtin/providers/aws/resource_provider.go:107 +0x71
2014/07/28 17:55:54 terraform-provider-aws: github.com/hashicorp/terraform/rpc.(*ResourceProviderServer).Apply(0xc208000de0, 0xc2080017c0, 0xc208001880, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/hashicorp/terraform/rpc/resource_provider.go:237 +0x6e
2014/07/28 17:55:54 terraform-provider-aws: reflect.Value.call(0x4407c40, 0x4496398, 0x0, 0x130, 0x44c90b0, 0x4, 0xc208004780, 0x3, 0x3, 0x0, ...)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/reflect/value.go:563 +0x1210
2014/07/28 17:55:54 terraform-provider-aws: reflect.Value.Call(0x4407c40, 0x4496398, 0x0, 0x130, 0xc208004780, 0x3, 0x3, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/reflect/value.go:411 +0xd7
2014/07/28 17:55:54 terraform-provider-aws: net/rpc.(*service).call(0xc208017040, 0xc20803b800, 0xc208000e48, 0xc208048090, 0xc208040f00, 0x4367be0, 0xc2080017c0, 0x0, 0x160, 0x4367c40, ...)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/rpc/server.go:382 +0x1c7
2014/07/28 17:55:54 terraform-provider-aws: created by net/rpc.(*Server).ServeCodec
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/rpc/server.go:453 +0x427
2014/07/28 17:55:54 terraform-provider-aws:
2014/07/28 17:55:54 terraform-provider-aws: goroutine 77 [IO wait]:
2014/07/28 17:55:54 terraform-provider-aws: net.runtime_pollWait(0x4822a68, 0x77, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/runtime/netpoll.goc:146 +0x66
2014/07/28 17:55:54 terraform-provider-aws: net.(*pollDesc).Wait(0xc2083ff2c0, 0x77, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/fd_poll_runtime.go:84 +0x46
2014/07/28 17:55:54 terraform-provider-aws: net.(*pollDesc).WaitWrite(0xc2083ff2c0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/fd_poll_runtime.go:93 +0x42
2014/07/28 17:55:54 terraform-provider-aws: net.(*netFD).connect(0xc2083ff260, 0x0, 0x0, 0x4823198, 0xc2083e22a0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/fd_unix.go:104 +0x17a
2014/07/28 17:55:54 terraform-provider-aws: net.(*netFD).dial(0xc2083ff260, 0x4823148, 0x0, 0x4823148, 0xc2083e5830, 0xecb68bdf4, 0x49ea0b3, 0x4743f60, 0x45c3188, 0x0, ...)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/sock_posix.go:121 +0x3b2
2014/07/28 17:55:54 terraform-provider-aws: net.socket(0x44d9270, 0x3, 0x2, 0x1, 0x0, 0xc2083e5800, 0x4823148, 0x0, 0x4823148, 0xc2083e5830, ...)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/sock_posix.go:91 +0x424
2014/07/28 17:55:54 terraform-provider-aws: net.internetSocket(0x44d9270, 0x3, 0x4823148, 0x0, 0x4823148, 0xc2083e5830, 0xecb68bdf4, 0x49ea0b3, 0x4743f60, 0x1, ...)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/ipsock_posix.go:137 +0x161
2014/07/28 17:55:54 terraform-provider-aws: net.dialTCP(0x44d9270, 0x3, 0x0, 0xc2083e5830, 0xecb68bdf4, 0x49ea0b3, 0x4743f60, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/tcpsock_posix.go:156 +0x13a
2014/07/28 17:55:54 terraform-provider-aws: net.dialSingle(0x44d9270, 0x3, 0xc2083e2160, 0x1f, 0x0, 0x0, 0x48230b8, 0xc2083e5830, 0xecb68bdf4, 0x49ea0b3, ...)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/dial.go:238 +0x3ef
2014/07/28 17:55:54 terraform-provider-aws: net.func·016(0xecb68bdf4, 0x49ea0b3, 0x4743f60, 0x0, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/dial.go:164 +0x132
2014/07/28 17:55:54 terraform-provider-aws: net.dial(0x44d9270, 0x3, 0x48230b8, 0xc2083e5830, 0x4c7dac0, 0xecb68bdf4, 0x49ea0b3, 0x4743f60, 0x0, 0x0, ...)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/fd_unix.go:40 +0x75
2014/07/28 17:55:54 terraform-provider-aws: net.(*Dialer).Dial(0xc2083c1a80, 0x44d9270, 0x3, 0xc2083e2160, 0x1f, 0x0, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/dial.go:171 +0x44f
2014/07/28 17:55:54 terraform-provider-aws: net.DialTimeout(0x44d9270, 0x3, 0xc2083e2160, 0x1f, 0x2540be400, 0x0, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/dial.go:151 +0xda
2014/07/28 17:55:54 terraform-provider-aws: github.com/mitchellh/goamz/aws.func·002(0x44d9270, 0x3, 0xc2083e2160, 0x1f, 0x0, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/projects/go/src/github.com/mitchellh/goamz/aws/client.go:39 +0xa2
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*Transport).dial(0xc20804e600, 0x44d9270, 0x3, 0xc2083e2160, 0x1f, 0x0, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/transport.go:442 +0x89
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*Transport).dialConn(0xc20804e600, 0x0, 0xc2083af080, 0x5, 0xc2083e2160, 0x1f, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/transport.go:496 +0x9b
2014/07/28 17:55:54 terraform-provider-aws: net/http.func·018()
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/transport.go:472 +0x41
2014/07/28 17:55:54 terraform-provider-aws: created by net/http.(*Transport).getConn
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/transport.go:474 +0x210
2014/07/28 17:55:54 terraform-provider-aws:
2014/07/28 17:55:54 terraform-provider-aws: goroutine 69 [runnable]:
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*persistConn).writeLoop(0xc2080c09a0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/transport.go:885 +0x38f
2014/07/28 17:55:54 terraform-provider-aws: created by net/http.(*Transport).dialConn
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/transport.go:601 +0x957
2014/07/28 17:55:54 terraform-provider-aws:
2014/07/28 17:55:54 terraform-provider-aws: goroutine 75 [IO wait]:
2014/07/28 17:55:54 terraform-provider-aws: net.runtime_pollWait(0x4822908, 0x72, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/runtime/netpoll.goc:146 +0x66
2014/07/28 17:55:54 terraform-provider-aws: net.(*pollDesc).Wait(0xc2083abf00, 0x72, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/fd_poll_runtime.go:84 +0x46
2014/07/28 17:55:54 terraform-provider-aws: net.(*pollDesc).WaitRead(0xc2083abf00, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/fd_poll_runtime.go:89 +0x42
2014/07/28 17:55:54 terraform-provider-aws: net.(*netFD).Read(0xc2083abea0, 0xc2083ac400, 0x400, 0x400, 0x0, 0x4821528, 0x23)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/fd_unix.go:232 +0x34c
2014/07/28 17:55:54 terraform-provider-aws: net.(*conn).Read(0xc2080383f8, 0xc2083ac400, 0x400, 0x400, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/net.go:122 +0xe7
2014/07/28 17:55:54 terraform-provider-aws: crypto/tls.(*block).readFromUntil(0xc2083e5020, 0x48231e8, 0xc2080383f8, 0x5, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/crypto/tls/conn.go:451 +0xd9
2014/07/28 17:55:54 terraform-provider-aws: crypto/tls.(*Conn).readRecord(0xc2083ae2c0, 0x17, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/crypto/tls/conn.go:536 +0x1ff
2014/07/28 17:55:54 terraform-provider-aws: crypto/tls.(*Conn).Read(0xc2083ae2c0, 0xc20839e000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/crypto/tls/conn.go:901 +0x16a
2014/07/28 17:55:54 terraform-provider-aws: net/http.noteEOFReader.Read(0x482bd78, 0xc2083ae2c0, 0xc2080c0cb8, 0xc20839e000, 0x1000, 0x1000, 0x4c81da0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/transport.go:1203 +0x72
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*noteEOFReader).Read(0xc20825e7e0, 0xc20839e000, 0x1000, 0x1000, 0xc2080b34e0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: <autogenerated>:124 +0xca
2014/07/28 17:55:54 terraform-provider-aws: bufio.(*Reader).fill(0xc2083f9140)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/bufio/bufio.go:97 +0x1b3
2014/07/28 17:55:54 terraform-provider-aws: bufio.(*Reader).Peek(0xc2083f9140, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/bufio/bufio.go:132 +0x101
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*persistConn).readLoop(0xc2080c0c60)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/transport.go:782 +0x95
2014/07/28 17:55:54 terraform-provider-aws: created by net/http.(*Transport).dialConn
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/transport.go:600 +0x93f
2014/07/28 17:55:54 terraform-provider-aws:
2014/07/28 17:55:54 terraform-provider-aws: goroutine 76 [select]:
2014/07/28 17:55:54 terraform-provider-aws: net/http.(*persistConn).writeLoop(0xc2080c0c60)
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/transport.go:885 +0x38f
2014/07/28 17:55:54 terraform-provider-aws: created by net/http.(*Transport).dialConn
2014/07/28 17:55:54 terraform-provider-aws: /Users/armon/go/src/pkg/net/http/transport.go:601 +0x957
2014/07/28 17:55:54 [ERROR] Error walking 'aws_security_group.bastion': 1 error(s) occurred:
* unexpected EOF
2014/07/28 17:55:54 [ERROR] Error walking 'aws_security_group.nat': 1 error(s) occurred:
* unexpected EOF
2014/07/28 17:55:54 [ERROR] Error walking 'aws_vpc.main': 1 error(s) occurred:
* unexpected EOF
2014/07/28 17:55:54 [INFO] Apply walk complete
2014/07/28 17:55:54 [DEBUG] /Users/matt/.bin/terraform-provider-aws: plugin process exited
2014/07/28 17:55:54 waiting for all plugin processes to complete...
2014/07/28 17:55:54 [DEBUG] /Users/matt/.bin/terraform-provider-aws: plugin process exited
2014/07/28 17:55:54 [DEBUG] /Users/matt/.bin/terraform-provider-aws: plugin process exited
2014/07/28 17:55:54 [DEBUG] /Users/matt/.bin/terraform-provider-aws: plugin process exited
provider "aws" {
access_key = "${var.access_key}"
secret_key = "${var.secret_key}"
region = "${var.region}"
}
resource "aws_vpc" "main" {
cidr_block = "10.0.0.0/16"
}
resource "aws_internet_gateway" "igw" {
vpc_id = "${aws_vpc.main.id}"
}
# Public Subnet
resource "aws_subnet" "public_1" {
vpc_id = "${aws_vpc.main.id}"
availability_zone = "${var.az_1}"
cidr_block = "10.0.0.0/20"
}
resource "aws_route_table" "public" {
vpc_id = "${aws_vpc.main.id}"
route {
gateway_id = "${aws_internet_gateway.igw.id}"
cidr_block = "10.0.0.0/0"
}
}
resource "aws_route_table_association" "public_1" {
subnet_id = "${aws_subnet.public_1.id}"
route_table_id = "${aws_route_table.public.id}"
}
# Private Subnet
resource "aws_subnet" "private_1" {
vpc_id = "${aws_vpc.main.id}"
availability_zone = "${var.az_1}"
cidr_block = "10.0.16.0/19"
}
resource "aws_route_table" "private_1" {
vpc_id = "${aws_vpc.main.id}"
route {
instance_id = "${aws_instance.nat_1.id}"
cidr_block = "10.0.0.0/0"
}
}
resource "aws_route_table_association" "private_1" {
subnet_id = "${aws_subnet.private_1.id}"
route_table_id = "${aws_route_table.private_1.id}"
}
# NAT
resource "aws_security_group" "nat" {
name = "nat"
description = "NAT instance security group"
ingress = {
from_port = 22
to_port = 22
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
}
ingress = {
from_port = 80
to_port = 80
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
}
ingress = {
from_port = 443
to_port = 443
protocol = "tcp"
cidr_blocks = ["0.0.0.0/0"]
}
}
resource "aws_instance" "nat_1" {
ami = "${var.amis.nat}"
subnet_id = "${aws_subnet.public_1.id}"
instance_type = "m1.small"
key_name = "chatid"
source_dest_check = false
security_groups = ["${aws_security_group.nat.id}"]
}
# Bastion
resource "aws_security_group" "bastion" {
name = "bastion"
description = "Bastion instance security group"
ingress = {
from_port = 22
to_port = 22
protocol = "tcp"
}
}
resource "aws_instance" "bastion_1" {
ami = "${var.amis.instance-store"
subnet_id = "${aws_subnet.public_1.id}"
instance_type = "t2.micro"
key_name = "chatid"
security_groups = ["${aws_security_group.bastion.id}"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment