opentofu/config/test-fixtures/validate-local-value-count/main.tf
Martin Atkins 0a342e8dc2 config: allow local value interpolations in count
There is some additional, early validation on the "count" meta-argument
that verifies that only suitable variable types are used, and adding local
values to this whitelist was missed in the initial implementation.
2017-09-01 17:54:05 -07:00

9 lines
87 B
HCL

locals {
count = 3
}
resource "null_resource" "foo" {
count = "${local.count}"
}