mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-02-21 11:01:23 -05:00
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.
13 lines
163 B
HCL
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
|
|
}
|