Skip to content

Instantly share code, notes, and snippets.

panic: runtime error: index out of range
goroutine 9723 [running]:
panic(0x2f98b20, 0xc420014110)
/usr/local/Cellar/go/1.7.4_2/libexec/src/runtime/panic.go:500 +0x1a1
github.com/hashicorp/terraform/flatmap.expandArray(0xc420838e40, 0xc420648709, 0x7, 0x9, 0xc42078a3f8, 0xc420a9cc01)
/private/tmp/terraform-20170110-77618-1pluuu4/terraform-0.8.3/src/github.com/hashicorp/terraform/flatmap/expand.go:82 +0x6ae
github.com/hashicorp/terraform/flatmap.Expand(0xc420838e40, 0xc420648709, 0x7, 0x2, 0x2)
/private/tmp/terraform-20170110-77618-1pluuu4/terraform-0.8.3/src/github.com/hashicorp/terraform/flatmap/expand.go:26 +0x2c1
github.com/hashicorp/terraform/terraform.(*Interpolater).interpolateComplexTypeAttribute(0xc42080d620, 0xc420648709, 0x7, 0xc420838e40, 0x5534080, 0xc420a9cf00, 0x9, 0xc420ef1fc0, 0x98)
@justicel
justicel / gist:b575386bc51beda734eb
Created March 10, 2016 21:45
load-balancer optimizations
# Sysctl settings.
# Load-balancer required sysctl settings
sysctl::value { 'net.ipv4.ip_nonlocal_bind':
value => 1,
}
sysctl::value { 'net.ipv4.ip_forward':
value => 1,
}
sysctl::value { 'vm.max_map_count':
value => '262144',
@justicel
justicel / gist:e551385c1b081911fafb
Last active September 4, 2015 16:56
pco-box gist
version: v1.2.2
date: 09/04/2015
### Keybase proof
I hereby claim:
* I am justicel on github.
* I am justicel (https://keybase.io/justicel) on keybase.
* I have a public key whose fingerprint is 461A 1F26 627E 4ABE 2C34 9146 D9EB 47E4 2718 5B95
To claim this, I am signing this object:
@justicel
justicel / gist:9904355
Created March 31, 2014 23:04
ssh github key config
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa