I'm trying to import an azurerm_virtual_network - and it imports correctly, however I can't seem to create a config file to match it so it doesn't delete and recreate it
benpi has quit
nya_ joined the channel
benpi joined the channel
nya_ has quit
nya_ joined the channel
nya_ has quit
nya__ joined the channel
nya__ has quit
zerocool_ joined the channel
Hilmi joined the channel
barajasfab joined the channel
Hilmi
using Terraform 0.6.16 and it appears to randomly throw out error in variables that are valid and not sure what is going on
Blocking our upgrade bas 0.7.5 but seems like a pretty supercritical bug. However as the error message explicitly states "do not support" I'm concerned this might be intentional acitivity
if it is, we need to know what the alternate path is so as to redevelop the code quickly
Doesn't *seem* on first glance that multiple map variables in tfvars should be undesirable
phinze: poking in hope
alexpbrown joined the channel
keltim joined the channel
al-damiri joined the channel
Devnull84_ joined the channel
devnull84 has quit
Devnull84_ has quit
leow joined the channel
toky joined the channel
potatoes_ joined the channel
amcm joined the channel
amcm joined the channel
wraithm joined the channel
gah.. gone to gitter
ranger81 joined the channel
gattes_
Zordrak, still there?
devnull84 joined the channel
jangrewe joined the channel
zmo_ joined the channel
Spanktar joined the channel
Zordrak
gattes_: yus
zmo_
hallo :) any best practices on how to attach puppet in the end of a resource creation ?
Zordrak
zmo_: userdata
zmo_
mh .. dont find it on terraform doc
is this just a way to perform commands ?
gattes_
yes, cloud-init :)
do a puppet agent -t run
I guess you mean EC2 instances
so your ec2 instances can have a cloud-init as a template
ranger81 joined the channel
well, in that cloud init you can run the command :)
zmo_
yes, sure.. but my question was about best practices .. :) how do you handle the certification signing .. and so on
i can also use remote-exec from within the resource .. that is not a problem
bosszaru joined the channel
adriam has quit
Hilmi joined the channel
adriam joined the channel
adriam has quit
adriam joined the channel
adriam_ joined the channel
adriam has quit
adriam_ has quit
tphummel joined the channel
devnull84 joined the channel
madmanx joined the channel
t0m
zmo_: The 'nice' solution is to make an AMI that just runs puppet when machines come up. Then use an autosign.rb script to validate the box in the AWS API before signing a cert