just out of curiosity, why that format instead of a plain text file?
like the .tf files.
pearkes
We store all sorts of things in there, not all plain text
jdiamond_
i guess i meant human-editable format. even binary could be base64. we might not edit that part, but would be able to edit the other, simpler parts.
c4milo joined the channel
englishm has quit
pearkes
jdiamond_: Yea, there may be room for another format in place, but gob was the initial decision. mitchellh may be able to shed more light :)
englishm_ joined the channel
(FWIW that was my first reaction too!)
jdiamond_
the state.go file is easy to understand. maybe i'll try compiling it to see what kind of damage i can do. =)
cloudgeek has quit
pearkes
yea, have fun. FYI that the tool to use existing infrastructure will likely not be inside of Terraform...or at least, we don't think it will be at this point
jdiamond_
oh? i was imagining it would be a `terraform import` command or the like.
it's more complicated?
pearkes
Ah nvm, yea, I was confusing it with Cloudformation imports, this thing will be embedded, sorry :)
englishm_ has quit
englishm joined the channel
catsby has quit
catsby joined the channel
carlosdp has quit
nanoyak has quit
carlosdp joined the channel
carlosdp has quit
carlosdp joined the channel
englishm has quit
englishm_ joined the channel
carlosdp has quit
carlosdp joined the channel
nanoyak joined the channel
whoisjake has quit
grettis joined the channel
mattupstate
with aws security groups, you can have a sort of circular reference to the security group…naturally i can't get the ID of the security group until after its been created, but i'm wondering if that ID would be available if i updated the resource to reference itself: `resource aws_security_group "app" { … ingress = { … security_groups = ["${aws_security_group.app.id}"] } }`
i suppose i could try, but i'm lazy ;)
or if perhaps the ingress rules are set after the group is created?