mirror of
https://github.com/hashicorp/terraform.git
synced 2026-03-22 18:33:08 -04:00
13 lines
177 B
Terraform
13 lines
177 B
Terraform
|
|
|
||
|
|
variable "input" {
|
||
|
|
type = map(object({
|
||
|
|
output = string
|
||
|
|
}))
|
||
|
|
}
|
||
|
|
|
||
|
|
resource "testing_resource" "main" {
|
||
|
|
for_each = var.input
|
||
|
|
id = each.key
|
||
|
|
value = each.value.output
|
||
|
|
}
|