mirror of
https://github.com/hashicorp/terraform.git
synced 2026-02-20 16:40:08 -05:00
21 lines
355 B
HCL
21 lines
355 B
HCL
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
|
|
}
|