Hi gents, what's the current best practice for reusing configuration in multiple environments?
anyone have any examples?
ignis-lee1 joined the channel
ignis-lee has quit
bitgeeky joined the channel
a_ro joined the channel
buckaroo1 joined the channel
buckaroo has quit
svij_ joined the channel
GriffinHeart joined the channel
jY
rbowlby: var lookups with different state files
bitgeeky has quit
michael_mbp joined the channel
bitgeeky joined the channel
rmenn has quit
rmenn joined the channel
GriffinHeart joined the channel
pmoust joined the channel
greyrhino joined the channel
greyrhino joined the channel
greyrhino joined the channel
greyrhino joined the channel
DanielVigueras joined the channel
erikkri joined the channel
jeevan_ullas joined the channel
rbowlby joined the channel
rbowlby has quit
rmenn joined the channel
rbowlby joined the channel
sarkis joined the channel
ignis-lee1 has quit
fatih joined the channel
sarkis joined the channel
jeevan_ullas joined the channel
sarkis joined the channel
sarkis has quit
rbowlby joined the channel
GriffinHeart joined the channel
GriffinHeart joined the channel
bitgeeky joined the channel
dobson joined the channel
^7heo
is it expected that, when using a terraform variable (tfvars) containing a variable expansion such as "${file(<include>)}", with the template provider, the rendered file will contain the contents of the file <include> for the expanded variable?
pmoust joined the channel
baffle_ is now known as baffle
dobson joined the channel
bitgeeky joined the channel
dobson joined the channel
sarkis joined the channel
sarkis has quit
mjc joined the channel
pmoust joined the channel
jwaldrip_ joined the channel
michalgm joined the channel
michael_mbp joined the channel
KenDawg2 joined the channel
KenDawg2 has quit
KenDawg2 joined the channel
nulleric joined the channel
michael_mbp joined the channel
michael_mbp joined the channel
michael_mbp joined the channel
jdetiber|gone is now known as jdetiber
nulleric_ joined the channel
sarkis joined the channel
sarkis joined the channel
michael_mbp joined the channel
blackjid
hi! I'm getting this error! Parameter encrypted is invalid. You cannot specify the encrypted flag if specifying a snapshot id in a block device mapping when creating a new instance with root_block and a ebs_block
what shoould I do with that?? umcompressed and there is a bunch of terraform-* files.... put I cannot execute them..
QiQe has quit
herself?
herself
those are terraform binaries
you must hve installed terraform before somehow
sarkis joined the channel
aznashwan joined the channel
fromonesrc joined the channel
blackjid
thnks..
KenDawg2 has quit
aznashwan
hey everyone!
whilst working on the Azure support, me and svanharmelen seem to have run into a blocker with regards to the creation of networking elements.
long story short; the Azure API does not allow for operations on networking resources to be done concurrently in a safe manner...
zzamboni joined the channel
weirdly enough though; I can vouch that adding a mutex upon the C_UD operations of the affected resources seems to be able to solve the problem.
could someone with enough of a grasp on Terraform's internal provider handling methods please shed some light on all of this?
namely, does Terraform run a single provider for all the resources on the respective platform; or does it start up a provider for EACH resource it requires from that platform?
Of course the source code also shows this, but I understand it can be a little overwhelming to just dive in there. Just for fun you could add a small log line to the `Provider()` func of the Azure provider to show you during execution how often it is called.
even better you could change the `Provider()` func a little so it doesn't directly return the `&schema.Provider{…}` but instead assign it to a variable which you can then log the pointer address from…
that will also show you at runtime that it will be called multiple times having a different address each time
so something like:
aznashwan
I have no problem being wrong; my problem is why does it work by adding a mutex?