Sign in
third-party-mirror
/
terraform
/
6a3c811625035624e0fb8a0ebbb7d03982d6303c
/
.
/
v1.5.7
/
internal
/
terraform
/
testdata
/
apply-count-variable-ref
/
main.tf
blob: 8e9e4526612a7b3bf6e59def790057435e80ef81 [
file
] [
log
] [
blame
]
variable
"foo"
{
default
=
"2"
}
resource
"aws_instance"
"foo"
{
count
=
"${var.foo}"
}
resource
"aws_instance"
"bar"
{
foo
=
length
(
aws_instance
.
foo
)
}