Hi, I am having trouble with the "connection" provisioner
it says that my key_file ~/.ssh/xyz.pem cannot be found
But cat ~/.ssh/xyz.pem shows otherwise
What gives?
Is connector trying to find that .pem file on the remote? No right?
girvo
jasonkuhrt_: I've been having a similar error, though not quite. Have you tried using an absolute path instead of a relative (`/home/you/whatever.pem` instead of `~/`)?
jasonkuhrt_
girvo: No, I will try that now though, second
girvo: Hm, that seemed to have worked...
girvo: Actually unconfirmed
girvo: It seems that because I was updating (+/-) not creating from scratch it did not run the remote-exec block
That is correct?
girvo has quit
girvo joined the channel
girvo
jasonkuhrt_: unfortunately I'm the wrong person to ask, i'm very new to Terraform too :) I'm having issues getting it to pick up my key pairs when creating AWS instances under VPC :(
englishm has quit
liquidity has quit
englishm joined the channel
RobertBirnie has quit
girvo has quit
samkottler has quit
jasonkuhrt_ has quit
RobertBirnie joined the channel
carlosdp has quit
jdiamond has quit
jdiamond joined the channel
carlosdp_ joined the channel
jdiamond has quit
c4milo has quit
nanoyak has quit
girvo joined the channel
jdiamond joined the channel
liquidity joined the channel
carlosdp_ has quit
carlosdp joined the channel
cloudgeek joined the channel
c4milo joined the channel
cloudgeek has quit
cloudgeek joined the channel
c4milo has quit
liquidity has quit
GriffinHeart joined the channel
GriffinHeart has quit
yawn joined the channel
RobertBirnie joined the channel
Is it possible to name an AWS instance through Terraform? Also, there are 500 errors when trying to provision a t2.micro on ap-southeast-2 due to AWS being over capacity, but terraform just chokes on it instead with a 500 :(
edehde joined the channel
also, is it possible to get terraform to run a provisioner after it's been created with `terraform apply`? The instance exists and it's working fine, but I added a provision block and it says that it's still the same
carlosdp has quit
carlosdp joined the channel
carlosdp has quit
RobertBirnie has quit
c4milo joined the channel
c4milo has quit
mohits joined the channel
girvo has quit
yawn joined the channel
sthulb joined the channel
sthulb has quit
sthulb joined the channel
sthulb has quit
sthulb joined the channel
c4milo joined the channel
c4milo has quit
sthulb has quit
edehde has quit
c4milo joined the channel
edehde joined the channel
c4milo has quit
englishm has quit
cloudgeek has quit
cloudgeek joined the channel
sthulb joined the channel
sthulb has quit
hcastro_ joined the channel
Canary joined the channel
c4milo joined the channel
Canary_ has quit
hcastro has quit
cheeseprocedure has quit
cheeseprocedure joined the channel
hcastro_ is now known as hcastro
englishm joined the channel
jdetiber|gone is now known as jdetiber
catsby joined the channel
sthulb joined the channel
jdiamond_ joined the channel
yawn_ joined the channel
yawn has quit
jdiamond has quit
yawn_ is now known as yawn
catsby joined the channel
edehde has quit
sthulb has quit
sthulb joined the channel
sthulb has quit
whoisjake joined the channel
Snozz joined the channel
Snozz has quit
RobertBirnie joined the channel
RobertBirnie has quit
mattupstate joined the channel
edehde joined the channel
c4milo has quit
c4milo joined the channel
c4milo has quit
c4milo joined the channel
blackjid
Is there any way to change the order when a resource is destroy? for example, if I change an instance and that change require the instance to be destroyed, I would prefer that the new instance gets created first and then destroy the other one.
pearkes
blackjid: hm, no way to configure that, no. What's your use case?
blackjid
a simple case would be instance and elastic IP, doing destroying at the end would enable me to have ~zero downtime, because it would create the new instances, change the registered instance on the elastic ip, and the destroy the original.
whoisjake has quit
jdetiber is now known as jdetiber|lunch
pearkes
blackjid: interesting
shoenig joined the channel
blackjid
@pearkes :) do you want me to add an issue in the terraforms github?
pearkes
Yea sure!
whoisjake joined the channel
blackjid
done
pearkes
awesome, thanks
blackjid
hey @pearkes don you know when tagging instances is coming?
pearkes
No known timeline, no, but it's not overly complex so shouldn't be loneg