DEV5.6_TP07/terraform/environments/dev/outputs.tf

31 lines
781 B
Terraform
Raw Normal View History

2024-12-05 10:37:38 +01:00
output "vpc_id" {
value = module.network.vpc_id
}
output "subnets_ids" {
value = {
2024-12-05 10:40:12 +01:00
frontend = module.network.subnets_ids.frontend,
backend = module.network.subnets_ids.backend,
database = module.network.subnets_ids.database
2024-12-05 10:37:38 +01:00
}
}
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
}
2024-12-06 14:29:33 +01:00
}
output "frontend_ip" {
value = module.compute.frontend_ip
2024-12-05 10:37:38 +01:00
}