mirror of https://github.com/hashicorp/terraform
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.pull/15973/head
parent
8cd0ee80e5
commit
0a342e8dc2
@ -0,0 +1,8 @@
|
||||
|
||||
locals {
|
||||
count = 3
|
||||
}
|
||||
|
||||
resource "null_resource" "foo" {
|
||||
count = "${local.count}"
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
|
||||
locals {
|
||||
count = 3
|
||||
}
|
||||
|
||||
resource "test_resource" "foo" {
|
||||
count = "${local.count}"
|
||||
}
|
||||
Loading…
Reference in new issue