import id ref in module

pull/33932/head
James Bardin 3 years ago
parent 167f235fa9
commit e522134fb8

@ -1119,9 +1119,13 @@ variable things {
type = map(string)
}
locals {
static_id = "foo"
}
resource "test_object" "a" {
for_each = var.things
test_string = "foo"
test_string = local.static_id
}
`,
})

Loading…
Cancel
Save