mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-13 00:46:16 -06:00
This example demonstrates both creating a network architecture *and* the use of data resources to minimize the number of variables needed for a child module by discovering additional data automatically.
4 lines
57 B
HCL
4 lines
57 B
HCL
output "subnet_id" {
|
|
value = "${aws_subnet.main.id}"
|
|
}
|