hello people. Short question: If I want to have in Terraform mutliple environments, but reuse things like iam_roles and s3 (as they are global) how could I solve that in terraform?
rmenn joined the channel
leow joined the channel
leow has quit
tx has quit
leow joined the channel
tx joined the channel
zerocoolback_ joined the channel
zerocoolback_ has quit
zerocoolback_ joined the channel
namra joined the channel
qba73 joined the channel
sarkis joined the channel
ninjada joined the channel
BrNDmG joined the channel
jian joined the channel
BrNDmG has quit
BrNDmG joined the channel
qba73 joined the channel
ninjada joined the channel
impi joined the channel
zerocoolback joined the channel
impi joined the channel
TaiSHi
Morning everyone
I'm trying to reference a remote state like this: subnet_id = "${data.terraform_remote_state.base.aws_subnet.subnet1.id}"
But I get: * Resource 'data.terraform_remote_state.base' does not have attribute 'aws_subnet.subnet1.id' for variable 'data.terraform_remote_state.base.aws_subnet.subnet1.id'
sarkis joined the channel
ninjada joined the channel
zerocoolback joined the channel
zerocoolback joined the channel
BrNDmG has quit
MKS2020
TaiSHI: do you use count for loop?
TaiSHi
Nope, straightforward defining subnet and referencing
qba73 joined the channel
jian joined the channel
Might have been a layer 8 issue, can't confirm yet
MKS2020 has quit
jian has quit
BrNDmG joined the channel
Quinn joined the channel
altcmd joined the channel
MartinCleaver joined the channel
MartinCleaver joined the channel
Quinn has quit
amcm joined the channel
MartinCleaver has quit
zerocoolback joined the channel
MKS2020 joined the channel
tmo21 joined the channel
BrNDmG has quit
BrNDmG joined the channel
luch0 joined the channel
MKS2020
anyone uses modules to construct ingress SG rules with loop?
sarkis joined the channel
BrNDmG has quit
tmo21
Testing out terraform to automate AWS and I am receiving "Unknown root level key:" Does anyone know what this error means? I have the keys in the shared folder and can use the aws cli.
ninjada has quit
ninjada joined the channel
jimmycuadra has quit
ninjada has quit
SneakyPhil
Soulan: make use of remote state
tmo21: did you specify any variables that point at your keys?