You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/internal/stacks/stackruntime/testdata/mainbundle/test/complex-inputs/main.tf

22 lines
355 B

terraform {
required_providers {
testing = {
source = "hashicorp/testing"
version = "0.1.0"
}
}
}
variable "input" {
type = list(object({
id = string
value = string
}))
}
resource "testing_resource" "data" {
count = length(var.input)
id = var.input[count.index].id
value = var.input[count.index].value
}