forked from pierront/but3-iac
.
This commit is contained in:
@@ -2,16 +2,18 @@
|
||||
# value = google_compute_instance.main.network_interface[0].access_config[0].nat_ip
|
||||
# }
|
||||
|
||||
output "vpc_terraform_output" {
|
||||
description = "ID du VPC crée "
|
||||
value = google_compute_network.vpc_terraform.id
|
||||
output "vpc_terraform" {
|
||||
description = "ID du VPC créé"
|
||||
value = google_compute_network.vpc.id
|
||||
}
|
||||
|
||||
output "list_id" {
|
||||
description = "Map des IDS des osus réseaux "
|
||||
output "subnet_ids" {
|
||||
description = "Map des IDs des sous-réseaux"
|
||||
value = {
|
||||
frontend = google_compute_subnetwork.subnet_frontend.id
|
||||
backend = google_compute_subnetwork.subnet_backend.id
|
||||
database = google_compute_subnetwork.subnet_database.id
|
||||
|
||||
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