forked from pierront/but3-iac
compute
This commit is contained in:
@@ -11,13 +11,15 @@ output "list_id" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
output "vpc_id" {
|
output "vpc_id" {
|
||||||
value = google_compute_network.vpc.id
|
description = "ID du VPC créé"
|
||||||
|
value = google_compute_network.vpc_terraform.id
|
||||||
}
|
}
|
||||||
|
|
||||||
output "subnets" {
|
output "subnets" {
|
||||||
|
description = "IDs des subnets du VPC"
|
||||||
value = {
|
value = {
|
||||||
frontend = google_compute_subnetwork.frontend.id
|
frontend = google_compute_subnetwork.subnet_frontend.id
|
||||||
backend = google_compute_subnetwork.backend.id
|
backend = google_compute_subnetwork.subnet_backend.id
|
||||||
database = google_compute_subnetwork.database.id
|
database = google_compute_subnetwork.subnet_database.id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user