2025-12-04 11:05:37 +01:00
|
|
|
# output "instance_ip" {
|
|
|
|
|
# value = google_compute_instance.main.network_interface[0].access_config[0].nat_ip
|
|
|
|
|
# }
|
2025-12-04 10:03:07 +01:00
|
|
|
|
2025-12-04 10:15:36 +01:00
|
|
|
output "vpc" {
|
|
|
|
|
value = google_compute_network.vpc_terraform.id
|
2025-12-03 17:10:48 +01:00
|
|
|
}
|
|
|
|
|
|
2025-12-04 11:05:37 +01:00
|
|
|
# output "vpc_id" {
|
|
|
|
|
# description = "ID of project VPC"
|
|
|
|
|
# value = module.vpc.vpc_id
|
|
|
|
|
# }
|
|
|
|
|
|
2025-12-04 10:15:36 +01:00
|
|
|
output "subnets" {
|
2025-12-03 17:10:48 +01:00
|
|
|
value = {
|
2025-12-04 10:15:36 +01:00
|
|
|
frontend = google_compute_subnetwork.subnet_frontend.id
|
|
|
|
|
backend = google_compute_subnetwork.subnet_backend.id
|
|
|
|
|
database = google_compute_subnetwork.subnet_database.id
|
2025-12-03 17:10:48 +01:00
|
|
|
}
|
2025-12-04 10:15:36 +01:00
|
|
|
}
|