Not a valid region: ap-south-1 <- Any ways around this, new Indian region.
TF 0.6.16
tazz has quit
azerus joined the channel
azerus joined the channel
rmenn joined the channel
v1k0d3n joined the channel
rmenn joined the channel
tspayde joined the channel
tspayde
I asked this a couple days back, but I will try again. Does anyone know of a way to specify the IAM Role for an EC2 instance when creating it? I did not see an option for this.
t0m
yes
resource "aws_instance" "a" {
....
iam_instance_profile = "xxx"
...
}
tspayde
t0m: Thanks!!
tspayde has quit
luka_ has quit
rmenn joined the channel
luka_ joined the channel
buzztroll joined the channel
upsell5 joined the channel
buzztroll has quit
mapu joined the channel
wraithm joined the channel
BombStrike joined the channel
wraithm has quit
v1k0d3n joined the channel
buzztroll joined the channel
danjohnsin joined the channel
wraithm joined the channel
xavia joined the channel
rnau joined the channel
iamchrisf joined the channel
puhrez joined the channel
tvon joined the channel
ppinkerton joined the channel
pVilaca
hey guys
I'm trying to understand one weird thing that is happening to me
I'm using remote state files and store them on s3
usually I'm the only one changing things with terraform
but from time to time, other guys are also using it
and when they are using it, looks like when they run a terraform plan
they are updating the remote state file
I was expecting that the remote state file would be only updated when we run a terraform apply
I understand that terraform is doing a refresh to try to get the latest updates from the infrastructure
but should it update a remote state?
also, the problem that we're facing is related with a 3rd party plugin (spotinst)
brokenthumbs joined the channel
in the past, we had that plugin configured
so, some people still have a local cache of the state file with some mentions to that plugin
but now the .tf files don't have any mention for that
so, we got an error saying that the credentials aren't available
the problem is that terraform plan command is uploading that bronken state file to s3
so, everyone gets that broken file after that
can you try to help me understanding what is happening?