opentofu/terraform/testdata/plan-targeted/main.tf
James Bardin b9e076ec66 re-add ModuleInstance -> Module conversion
When working with a ConfigResource, the generalization of a
ModuleInstance to a Module was inadvertently dropped, and there was to
test coverage for that type of target.

Ensure we can target a specific module instance alone.
2020-08-12 10:22:13 -04:00

13 lines
163 B
HCL

resource "aws_instance" "foo" {
num = "2"
}
resource "aws_instance" "bar" {
foo = aws_instance.foo.num
}
module "mod" {
source = "./mod"
count = 1
}