mirror of https://github.com/hashicorp/terraform
Modules should get a validation error just like outputs do. refs #1528pull/1534/head
parent
347690a73e
commit
975a96f271
@ -1,6 +1,11 @@
|
||||
resource "aws_instance" "foo" {
|
||||
}
|
||||
|
||||
output "notgood" {
|
||||
output "no_count_in_output" {
|
||||
value = "${count.index}"
|
||||
}
|
||||
|
||||
module "no_count_in_module" {
|
||||
source = "./child"
|
||||
somevar = "${count.index}"
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue