Skip to content

Instantly share code, notes, and snippets.

View gist:c54ef9bc668e474bb8d9071c33d86e58
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 Mar 10, 2016
load-balancer optimizations
View gist:b575386bc51beda734eb
# 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',
View gist:e551385c1b081911fafb
version: v1.2.2
date: 09/04/2015
View gist:37ad6d6da7bb62545f79
### 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 Mar 31, 2014
ssh github key config
View gist:9904355
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_rsa
You can’t perform that action at this time.