forked from pierront/but3-iac
42 lines
995 B
HCL
42 lines
995 B
HCL
output "ip_internes" {
|
|
value = {
|
|
frontend = module.compute.ip_internes.frontend
|
|
backend = module.compute.ip_internes.backend
|
|
database = module.compute.ip_internes.database
|
|
}
|
|
}
|
|
|
|
output "ip_public_frontend" {
|
|
value = module.compute.ip_public_frontend.value
|
|
}
|
|
|
|
output "nom_instances" {
|
|
value = {
|
|
frontend = module.compute.nom_instances.frontend
|
|
backend = module.compute.nom_instances.backend
|
|
database = module.compute.nom_instances.database
|
|
}
|
|
}
|
|
|
|
output "service_account_email" {
|
|
description = "Service account email."
|
|
value = module.iam.service_account_email.value
|
|
}
|
|
|
|
output "service_account_key" {
|
|
description = "Service account key."
|
|
sensitive = true
|
|
value = module.iam.service_account_key.value
|
|
}
|
|
|
|
output "vpc" {
|
|
value = module.network.vpc.value
|
|
}
|
|
|
|
output "subnets" {
|
|
value = {
|
|
frontend = module.network.subnets.frontend
|
|
backend = module.network.subnets.backend
|
|
database = module.network.subnets.database
|
|
}
|
|
} |