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

40 lines
819 B
Terraform
Raw Normal View History

2025-12-04 10:31:09 +01:00
output "service_account_email" {
2025-12-04 10:33:00 +01:00
value = module.iam.terraform_sa_email
2025-12-04 10:31:09 +01:00
}
output "service_account_key" {
2025-12-04 10:33:00 +01:00
value = module.iam.terraform_sa_key
sensitive = true
2025-12-04 10:31:09 +01:00
}
output "vpc_id" {
2025-12-04 10:33:00 +01:00
value = module.network.vpc_id
2025-12-04 10:31:09 +01:00
}
output "subnets" {
value = {
frontend = module.network.subnet_frontend_id
backend = module.network.subnet_backend_id
database = module.network.subnet_database_id
}
}
output "instance_names" {
value = [
module.compute.frontend_name,
module.compute.backend_name,
module.compute.database_name
]
}
output "private_ips" {
value = {
frontend = module.compute.frontend_private_ip
backend = module.compute.backend_private_ip
database = module.compute.database_private_ip
}
}
output "frontend_public_ip" {
2025-12-04 10:33:00 +01:00
value = module.compute.frontend_public_ip
2025-12-04 10:31:09 +01:00
}