forked from pierront/but3-iac
43 lines
971 B
HCL
43 lines
971 B
HCL
output "ip_interne" {
|
|
value = {
|
|
frontend = module.compute.ip_interne.frontend
|
|
backend = module.compute.ip_interne.backend
|
|
database = module.compute.ip_interne.database
|
|
}
|
|
}
|
|
|
|
output "ip_public_frontend" {
|
|
value = module.compute.ip_public_frontend.value
|
|
}
|
|
|
|
output "nom_instance" {
|
|
value = {
|
|
frontend = module.compute.nom_instance.frontend
|
|
backend = module.compute.nom_instance.backend
|
|
database = module.compute.nom_instance.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
|
|
}
|
|
}
|