2025-12-04 09:32:09 +01:00
|
|
|
# output "instance_ip" {
|
|
|
|
|
# value = google_compute_instance.main.network_interface[0].access_config[0].nat_ip
|
|
|
|
|
# }
|
2025-12-03 17:10:48 +01:00
|
|
|
|
|
|
|
|
output "vpc_terraform_output" {
|
2025-12-04 09:32:09 +01:00
|
|
|
description = "ID du VPC crée "
|
2025-12-03 17:10:48 +01:00
|
|
|
value = google_compute_network.vpc_terraform.id
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
output "list_id" {
|
2025-12-04 09:32:09 +01:00
|
|
|
description = "Map des IDS des osus réseaux "
|
2025-12-03 17:10:48 +01:00
|
|
|
value = {
|
|
|
|
|
frontend = google_compute_subnetwork.subnet_frontend.id
|
|
|
|
|
backend = google_compute_subnetwork.subnet_backend.id
|
|
|
|
|
database = google_compute_subnetwork.subnet_database.id
|
|
|
|
|
}
|
|
|
|
|
}
|