forked from pierront/but3-iac
tp
This commit is contained in:
19
terraform/modules/network/outputs.tf
Normal file
19
terraform/modules/network/outputs.tf
Normal file
@@ -0,0 +1,19 @@
|
||||
output "vpc_id" {
|
||||
description = "ID du VPC créé."
|
||||
value = google_compute_network.vpc.id
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
output "subnet_ids" {
|
||||
description = "Map des IDs des sous-réseaux : frontend, backend, database."
|
||||
value = {
|
||||
frontend = google_compute_subnetwork.frontend.id
|
||||
backend = google_compute_subnetwork.backend.id
|
||||
database = google_compute_subnetwork.database.id
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user