mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-02 21:40:48 -05:00
12 lines
177 B
HCL
12 lines
177 B
HCL
|
|
variable "input" {
|
|
type = map(object({
|
|
output = string
|
|
}))
|
|
}
|
|
|
|
resource "testing_resource" "main" {
|
|
for_each = var.input
|
|
id = each.key
|
|
value = each.value.output
|
|
}
|