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
|
|
|
}
|
2024-12-06 15:54:45 +01:00
|
|
|
|
|
|
|
output "frontend_public_ip" {
|
|
|
|
value = module.compute.frontend_public_ip
|
|
|
|
}
|