mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-28 01:41:48 -06:00
10 lines
259 B
HCL
10 lines
259 B
HCL
resource "aws_instance" "foo" {
|
|
}
|
|
|
|
output "instance_id" {
|
|
# Even though we're targeting just the resource above, this should still
|
|
# be populated because outputs are implicitly targeted when their
|
|
# dependencies are
|
|
value = "${aws_instance.foo.id}"
|
|
}
|