Sign in
third-party-mirror
/
terraform
/
80d4fe1e39aa758c5488269a446e7147cc3ca50f
/
.
/
v1.4.7
/
internal
/
terraform
/
testdata
/
apply-resource-scale-in
/
main.tf
blob: 8cb38473e163b59d0322e338600e57c5edebdf78 [
file
] [
log
] [
blame
]
variable
"instance_count"
{}
resource
"aws_instance"
"one"
{
count
=
var
.
instance_count
}
locals
{
one_id
=
element
(
concat
(
aws_instance
.
one
.*.
id
,
[
""
]),
0
)
}
resource
"aws_instance"
"two"
{
value
=
local
.
one_id
}