hey guys... anyone have any tips on dealing with RDS instances?
if I just follow the example in the docs I run into "DB instance already exists error" when I reapply the terraforms
svij_ joined the channel
beeradb joined the channel
alanwill joined the channel
azerus joined the channel
pmoust has quit
pmoust joined the channel
alanwill joined the channel
ryanuber joined the channel
rcgenova joined the channel
killfill has quit
killfill joined the channel
oo has quit
svij_ joined the channel
rcgenova joined the channel
pmoust joined the channel
ryanuber has quit
ryanuber joined the channel
azerus joined the channel
killfill has quit
killfill joined the channel
ryanuber joined the channel
PaulCapestany joined the channel
LarchOye has quit
LarchOye joined the channel
LarchOye_x joined the channel
atyz joined the channel
LarchOye has quit
tphummel joined the channel
killfill has quit
killfill joined the channel
azerus joined the channel
mgoelzer joined the channel
azerus joined the channel
killfill has quit
killfill joined the channel
atyz joined the channel
neerfri joined the channel
ZiggyTheHamster joined the channel
a_ro joined the channel
eraserhead joined the channel
Xzanron joined the channel
mgoelzer joined the channel
killfill has quit
killfill joined the channel
oo joined the channel
oo has quit
skiold joined the channel
boxrick1
Good morning guys, I am looking to pull the latest 0.6.9 dev release, which branch is this on Github?
azerus joined the channel
negge has quit
negge joined the channel
negge has left the channel
killfill has quit
killfill joined the channel
DoesThisWork joined the channel
DoesThisWork
hello
trying to debug why I'm getting a prompt when I am reasonably sure I'm setting the variable value when referencing the module. How do you suggest debugging why I'm getting a prompt?
jedineeper joined the channel
jedineeper
good morning and happy new year everyone :)
livcd joined the channel
rodlogic joined the channel
ElBlivion
happy new year :)
killfill has quit
killfill joined the channel
buzzedword joined the channel
zipkid
Hello.
Is there a better way than just echoing an AWS instance IP to a file in another instance to force ordering?
so in instance2 you can add an attribute that says "depends_on ["aws_instance.instance_1"]
zipkid
jedineeper: Exactly! I knew i must be missing something :-)
jedineeper: Thank you.
jedineeper
np :)
boxrick1
I asked this before... but no answer.... I am looking to pull the latest 0.6.9 dev release, which branch is this on Github?
jedineeper
you want the latest code? then just pull from master
the bleeding edge code (0.6.9-dev) is merged into there
boxrick1
Oh ok
Cheers
imthewherd joined the channel
Shubby joined the channel
Shubby has quit
imthewherd has quit
buzzedword joined the channel
buzzedword joined the channel
Shubby joined the channel
killfill has quit
killfill joined the channel
rodlogic joined the channel
rdark joined the channel
livcd
can terraform touch dockerfiles ? Eg. dockerfiles contain variables and you fill this variables via terraform and build it like that
imthewherd joined the channel
Schmidt joined the channel
jedineeper
livcd: wouldnt you want to use packer for that?
livcd
no why ?
jedineeper
I can't see how your building Docker containers as part of terraform? Isn't the construction of the artifact a pre-step to that?
livcd
jedineeper: actually i did not know that packer can handle docker as well :D
but i'll take a look
so i can build and publish docker containers via packer to hub.docker as well ?
jedineeper
yep (I do myself)
livcd
I'll definitely take a look at that
rodlogic joined the channel
v1k0d3n joined the channel
oh it's a bit inconvenient for me
While Docker has many features, Packer views Docker simply as an LXC container runner.
but docker is not "LXC" anymore
killfill has quit
jedineeper
Hmm, I was aware that there was an outstanding issue regarding building up the docker container layers via packer but not something as drastic as that
(sorry, fire evac drill, urgh)
killfill joined the channel
sz0 joined the channel
livcd
uhh
well so i wonder if it builds an actual docker containers or...
SneakyPhil
boxrick1: I just build it off the master branch
ah, someone got you already
atyz joined the channel
jedineeper
livcd: it builds actual docker containers - at least I was publishing them to docker hub and reusing them elsewhere?
mgoelzer joined the channel
xavia joined the channel
livcd
jedineeper: ok ok thanks
macguffin joined the channel
jedineeper: so what is actually the issue with packer+docker ? :P
jedineeper
(in my limited docker understanding) a regular dockerfile will build your image in layers to reduce buildtime in future iterations? Packer will always rebuild the whole layer as one layer every time..
SevenMachines_ joined the channel
However, I could be talking crap because i can't fdin the issue in the packer github issues list anymore
SevenMachines_ has quit
nshttpd
I haven't built them with Docker, but a normal 'docker build' doe the layer think that jedineeper speaks of.
s/with Docker/Packer/
if Packer spins up a VM before the build though and then tears it down, that layer cache will of course go away and it'll jsut rebuild the whole thing every time.
also why you craft your Dockerfile carefully to be able to keep those layers that don't change.
livcd
i wish Packer would be able to connect to docker daemon remotely
jedineeper
"builder/docker: Now works remote hosts, such as boot2docker [GH-2846]" is in the release notes for the next version of packer
SevenMachines joined the channel
azerus joined the channel
(I've no idea if this is what you mean, I'm talking out of my depth re: docker and should probably quit while I'm ahead)
livcd
hah
nshttpd
yeah, that's what I'm talking about.
SneakyPhil
Packer just sets up the build environment and runs scripts you tell it too though. Isn't it possible to script connecting the docker daemon?
SneakyPhil doesn't know but is planning to do this same work later this week
pmoust joined the channel
livcd
well i do not want to install a packer to the host i want to run the packer from my laptop and point it to any machine that has docker daemon