opentofu/config/test-fixtures/validate-count-resource-var-multi/main.tf
Mitchell Hashimoto 609219fc65 command/meta: validate config immediately
* config: test for validating multi-vars (passes)

* command/plan: test invalid run

* command/meta: validate module on load
2016-09-03 15:26:49 -07:00

6 lines
116 B
HCL

resource "aws_instance" "foo" {}
resource "aws_instance" "web" {
count = "${length(aws_instance.foo.*.bar)}"
}