12:49 PM
work-smith1 has quit
12:55 PM
gamename joined the channel
12:57 PM
SneakyPhil
morning
13:03 PM
jrnt30 joined the channel
13:05 PM
wraithm joined the channel
13:05 PM
entr0py77 joined the channel
13:08 PM
nalum
morning, if I run the setup for remote state on an existing terraform state file does it migrate that state to the remote state?
13:09 PM
t0m
nalum: it does when you push
13:09 PM
Unless you mean 'merge' when you say 'migrate' :)
13:09 PM
muh-die-kuh joined the channel
13:10 PM
nalum
No, I mean I have a local state and then do a set up for a new remote state
13:13 PM
impi joined the channel
13:13 PM
so terraform remote push will push the ./terraform.tfstate and move/copy it into ./.terraform?
13:17 PM
Shubby joined the channel
13:17 PM
mapu joined the channel
13:22 PM
turtlebender has quit
13:25 PM
anero79 has quit
13:29 PM
turtlebender joined the channel
13:34 PM
davi_____ joined the channel
13:35 PM
jrnt30
I believe that is correct, yes
13:35 PM
nalum
jrnt30: thanks :)
13:35 PM
jrnt30
you can always test it with a non-sensitive state file too just to be sur e
13:39 PM
nalum
Just tested it and running the config command does that, no need to push separately
13:40 PM
vvoody joined the channel
13:45 PM
ppinkerton joined the channel
13:47 PM
Shubby joined the channel
13:51 PM
leow joined the channel
13:55 PM
anero79 joined the channel
14:02 PM
chadothompson joined the channel
14:07 PM
rmldsky has quit
14:08 PM
lucazz joined the channel
14:08 PM
vvoody joined the channel
14:09 PM
sgrankin joined the channel
14:14 PM
keymone has quit
14:17 PM
Shubby joined the channel
14:20 PM
leow has quit
14:21 PM
alexpbrown joined the channel
14:21 PM
alexpbrown has left the channel
14:22 PM
alexpbrown joined the channel
14:22 PM
leow joined the channel
14:24 PM
mmlb joined the channel
14:25 PM
Spanktar joined the channel
14:26 PM
keymone joined the channel
14:34 PM
rmenn joined the channel
14:41 PM
boutchee520 joined the channel
14:46 PM
jrnt30 has quit
14:47 PM
Shubby joined the channel
14:49 PM
kestenbroughton joined the channel
14:50 PM
tokynet joined the channel
14:51 PM
jrnt30 joined the channel
14:54 PM
xavia joined the channel
14:58 PM
brokenthumbs joined the channel
15:03 PM
bosszaru joined the channel
15:03 PM
sgrankin joined the channel
15:04 PM
sgrankin has quit
15:04 PM
rmldsky joined the channel
15:07 PM
sgrankin joined the channel
15:08 PM
jdubz` has quit
15:08 PM
davi_____ is now known as davidfic_
15:12 PM
daveops joined the channel
15:15 PM
azerus joined the channel
15:17 PM
Shubby joined the channel
15:18 PM
jangrewe joined the channel
15:18 PM
entr0py77 has quit
15:26 PM
ppinkerton joined the channel
15:40 PM
leow has quit
15:40 PM
entr0py77 joined the channel
15:42 PM
dharrisio joined the channel
15:43 PM
Luke joined the channel
15:44 PM
leow joined the channel
15:47 PM
Shubby joined the channel
15:52 PM
ppinkerton joined the channel
15:54 PM
bsnape joined the channel
15:55 PM
leow has quit
15:56 PM
rkulagow
good morning.
15:57 PM
i've having an issue with terraform destroy erroring out "waiting for volume to detach from instance"
15:57 PM
what's the special incantation i need to use to ensure that the instance is killed first, and then the volume?
16:01 PM
Guest32 joined the channel
16:04 PM
leow joined the channel
16:07 PM
kestenbroughton
I need to get the terraform.tfstate for a pre-existing aws vpc. Is there a way to do that?
16:07 PM
I want something equivalent to ansible's
16:07 PM
- ec2_vpc_route_table_facts:
16:07 PM
filters:
16:07 PM
vpc-id: vpc-abcdef00
16:07 PM
16:08 PM
with similar _facts modules for subnets, security_groups etc.
16:09 PM
I'm tring to use mantl in a hosted vpc where the vpc... subnets are already created and I'm not sure how to get an initial terraform.tfstate that works with it.
16:09 PM
mapu
I recently heard about ‘terraforming’ - I have been experimenting with it. Let me find to URL
16:10 PM
16:11 PM
bsnape has quit
16:11 PM
buzztroll joined the channel
16:12 PM
Luke joined the channel
16:12 PM
wraithm has quit
16:13 PM
rnau joined the channel
16:13 PM
kestenbroughton
Wow thanks!!!
16:14 PM
jrnt30
That is probably the best way to backport resources on a small scale, yep
16:14 PM
mapu
sure enough- I just found it a couple of days ago.
16:18 PM
Shubby joined the channel
16:27 PM
vcd joined the channel
16:29 PM
sgrankin joined the channel
16:29 PM
nathanleclaire joined the channel
16:35 PM
ppinkerton joined the channel
16:38 PM
rkulagow
race condition?
16:38 PM
aws_security_group.SSH: Creation complete aws_security_group.SIP: Creation complete aws_security_group.HTTP: Creation complete aws_security_group.HTTPS: Creation complete Error applying plan: 1 error(s) occurred: * Resource 'aws_security_group.SSH' does not have attribute 'id' for variable 'aws_security_group.SSH.id'
16:38 PM
tphummel joined the channel
16:38 PM
so it gets a "complete" for my ssh security group.
16:39 PM
but then later on it says that the group doesn't have "id"?
16:39 PM
and so then terraform fails.
16:39 PM
but then if i try again
16:39 PM
aws_security_group.SSH: Error creating Security Group: InvalidGroup.Duplicate: The security group 'SG_USE1_PRD_foobar_SSH_V01' already exists
16:43 PM
even more interesting is that terraform destroy doesn't back out the invaludi security group?
16:43 PM
when i look at that SG in the console, none of the tags are applied either?
16:47 PM
Shubby has quit
16:48 PM
Shubby joined the channel
16:48 PM
anero79 has quit
16:56 PM
nalum
anyone know if there is a google cloud irc channel?
16:56 PM
jlecren joined the channel
16:59 PM
rnau has quit
16:59 PM
ryanuber joined the channel
17:00 PM
keymone has quit
17:00 PM
rnau joined the channel
17:01 PM
ageorgop joined the channel
17:09 PM
impi joined the channel
17:13 PM
anero79 joined the channel
17:15 PM
sadmin joined the channel
17:17 PM
Spanktar joined the channel
17:18 PM
Shubby joined the channel
17:19 PM
anero79 has quit
17:19 PM
anero79 joined the channel
17:24 PM
anero79 has quit
17:39 PM
nathanleclaire has quit
17:40 PM
entr0py77 joined the channel
17:42 PM
entr0py7_ joined the channel
17:43 PM
rmenn joined the channel
17:43 PM
nathanleclaire joined the channel
17:47 PM
anero79 joined the channel
17:48 PM
a13x212 joined the channel
17:48 PM
Shubby joined the channel
17:50 PM
jrnt30 has quit
17:50 PM
sgrankin joined the channel
17:50 PM
ppinkert_ joined the channel
17:57 PM
Luke joined the channel
17:58 PM
jrnt30 joined the channel
17:59 PM
ppinkerton joined the channel
18:03 PM
jlecren has quit
18:03 PM
jlecren joined the channel
18:04 PM
azerus joined the channel
18:04 PM
azerus has quit
18:04 PM
azerus joined the channel
18:09 PM
dharrisio has left the channel