forked from pierront/but3-iac
.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user