Sign in
third-party-mirror
/
terraform
/
56211c3533159ce6f2744b2cb7c0b52d44afcd27
/
.
/
v1.5.7
/
internal
/
terraform
/
testdata
/
apply-multi-var-order
/
main.tf
blob: 7ffefb6f349b55b40c5190d982af50f2e934807b [
file
] [
log
] [
blame
]
variable
"num"
{
default
=
15
}
resource
"aws_instance"
"bar"
{
count
=
"${var.num}"
foo
=
"index-${count.index}"
}
output
"should-be-11"
{
value
=
"${element(aws_instance.bar.*.foo, 11)}"
}