# Title: site/outputs.tf # Description: Outputs from resources saved as variables # Accessible via "${module.site.variable_name}" # Set output variable from resource format # output "variable_name" { # value = "${aws_resource.name.attribute}" # } # Store the VPC ID output "vpc_id" { value = "${aws_vpc.myvpc.id}" } # Store the Public Subnet ID output "subnet01_public_id" { value = "${aws_subnet.subnet01-public.id}" } # Store the Public Security Group ID output "sg_public_default_id" { value = "${aws_security_group.sg_public_default.id}" }