blob: 2aca12f7f605d87f017c1f2209a411da91fdfc2f [file]
list "aws_instance" "test" {
provider = aws
count = 1
include_resource = true
limit = 5
config {
tags = {
Name = "test"
}
}
}
list "aws_instance" "test2" {
provider = aws
count = 1
config {
tags = {
Name = join("-", ["test2", list.aws_instance.test.data[0]])
}
}
}
list "aws_instance" "test3" {
provider = aws
}