DEV5.6_TP07/terraform/environments/dev/outputs.tf
2024-12-05 10:40:12 +01:00

27 lines
716 B
HCL

output "vpc_id" {
value = module.network.vpc_id
}
output "subnets_ids" {
value = {
frontend = module.network.subnets_ids.frontend,
backend = module.network.subnets_ids.backend,
database = module.network.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
}
}