mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Commit files to show use of 2 separate Terraform modules, including the "instance-cluster" module to spin up a cluster of instances Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
15 lines
350 B
HCL
15 lines
350 B
HCL
output "vpc_id" {
|
|
value = "${aws_vpc.vpc.id}"
|
|
}
|
|
|
|
output "subnet_id" {
|
|
value = "${aws_subnet.subnet.*.id}"
|
|
}
|
|
|
|
output "subnet_az" {
|
|
value = "${aws_subnet.subnet.*.availability_zone}"
|
|
}
|
|
|
|
output "default_sg_id" {
|
|
value = "${aws_vpc.vpc.default_security_group_id}"
|
|
}
|