mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
975a96f271
Modules should get a validation error just like outputs do. refs #1528
12 lines
177 B
HCL
12 lines
177 B
HCL
resource "aws_instance" "foo" {
|
|
}
|
|
|
|
output "no_count_in_output" {
|
|
value = "${count.index}"
|
|
}
|
|
|
|
module "no_count_in_module" {
|
|
source = "./child"
|
|
somevar = "${count.index}"
|
|
}
|