Files
but3-iac/terraform/environments/dev/outputs.tf

42 lines
1.0 KiB
Terraform
Raw Normal View History

2025-12-04 10:15:08 +01:00
output "ip_internes" {
value = {
2025-12-04 10:19:24 +01:00
frontend = module.compute.ip_internes.frontend
backend = module.compute.ip_internes.backend
database = module.compute.ip_internes.database
2025-12-04 10:15:08 +01:00
}
}
output "ip_public_frontend" {
2025-12-04 10:28:59 +01:00
value = module.compute.vm_frontend.network_interface[0].access_config[0].nat_ip
2025-12-04 10:15:08 +01:00
}
output "nom_instances" {
value = {
2025-12-04 10:22:29 +01:00
frontend = module.compute.nom_instances.frontend
backend = module.compute.nom_instances.backend
database = module.compute.nom_instances.database
2025-12-04 10:15:08 +01:00
}
}
2025-12-04 10:16:39 +01:00
output "service_account_email" {
description = "Service account email."
2025-12-04 10:26:36 +01:00
value = module.iam.service_account.email
2025-12-04 10:15:08 +01:00
}
2025-12-04 10:16:39 +01:00
output "service_account_key" {
description = "Service account key."
sensitive = true
2025-12-04 10:26:36 +01:00
value = module.iam.service_account_email.mykey.private_key
2025-12-04 10:15:08 +01:00
}
output "vpc" {
2025-12-04 10:22:29 +01:00
value = module.network.vpc.value
2025-12-04 10:15:08 +01:00
}
output "subnets" {
value = {
2025-12-04 10:23:10 +01:00
frontend = module.network.subnets.frontend
backend = module.network.subnets.backend
database = module.network.subnets.database
2025-12-04 10:15:08 +01:00
}
}