From 7711289a2194fd140cc96d9c1941a0ed2695c902 Mon Sep 17 00:00:00 2001 From: thuret Date: Thu, 5 Dec 2024 10:37:38 +0100 Subject: [PATCH] uptdate dev outputs --- terraform/environments/dev/outputs.tf | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/terraform/environments/dev/outputs.tf b/terraform/environments/dev/outputs.tf index e69de29..5c58f38 100644 --- a/terraform/environments/dev/outputs.tf +++ b/terraform/environments/dev/outputs.tf @@ -0,0 +1,27 @@ +output "vpc_id" { + value = module.network.vpc_id +} + +output "subnets_ids" { + value = { + frontend = module.subnetwork.subnets_ids.frontend, + backend = module.subnetwork.subnets_ids.backend, + database = module.subnetwork.subnets_ids.database + } +} + +output "instances_internal_ips" { + value = { + frontend = module.compute.instances_internal_ips.frontend, + backend = module.compute.instances_internal_ips.backend, + database = module.compute.instances_internal_ips.database + } +} + +output "instances_names" { + value = { + frontend = module.compute.instances_names.frontend, + backend = module.compute.instances_names.backend, + database = module.compute.instances_names.database + } +} \ No newline at end of file