14 lines
355 B
HCL
14 lines
355 B
HCL
output "vpc_id" {
|
|
value = google_compute_network.my_vpc.id
|
|
description = "ID du VPC créé"
|
|
}
|
|
|
|
output "subnet_ids" {
|
|
value = {
|
|
frontend = google_compute_subnetwork.frontend.id
|
|
backend = google_compute_subnetwork.backend.id
|
|
database = google_compute_subnetwork.database.id
|
|
}
|
|
description = "Map contenant les IDs des sous-réseaux"
|
|
}
|