tp-cloud/terraform/environments/dev/outputs.tf

39 lines
905 B
Terraform
Raw Normal View History

2024-12-06 16:27:41 +01:00
output "vpc_id" {
value = module.network.vpc_id
}
output "subnet_id" {
value = {
frontend = module.network.subnet_id.frontend,
backend = module.network.subnet_id.backend,
database = module.network.subnet_id.database
}
}
output "ip_instance" {
value = {
frontend = module.compute.ip_instance.frontend,
backend = module.compute.ip_instance.backend,
database = module.compute.ip_instance.database
}
}
output "frontend_public_ip" {
value = module.compute.frontend_public_ip
}
output "name_instance" {
value = {
frontend = module.compute.name_instance.frontend,
backend = module.compute.name_instance.backend,
database = module.compute.name_instance.database
}
}
output "service_account_email" {
value = module.iam.service_account_email
}
output "service_account_key" {
value = module.iam.service_account_key
}