This commit is contained in:
James Boutaric
2025-12-04 11:12:28 +01:00
parent f54d9bacfb
commit 84294c24f5
2 changed files with 15 additions and 0 deletions

View File

@@ -12,6 +12,17 @@ provider "google" {
region = var.region
}
# module "network" {
# source = "./modules/network"
# # Variables d'entrée
# project_name = var.project_name
# region = var.region
# # Autres variables spécifiques au module
# cidr_range = "10.0.0.0/16"
# }
module "network" {
source = "../../modules/network"
project_name = var.project_name

View File

@@ -1,3 +1,7 @@
# output "instance_ip" {
# value = google_compute_instance.main.network_interface[0].access_config[0].nat_ip
# }
output "ip_internes" {
value = module.compute.ip_internes
}