forked from pierront/but3-iac
fin output dev
This commit is contained in:
@@ -1,42 +1,27 @@
|
|||||||
output "ip_internes" {
|
output "ip_internes" {
|
||||||
value = {
|
value = module.compute.ip_internes
|
||||||
frontend = module.compute.ip_internes.frontend
|
|
||||||
backend = module.compute.ip_internes.backend
|
|
||||||
database = module.compute.ip_internes.database
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
output "ip_public_frontend" {
|
output "ip_public_frontend" {
|
||||||
value = module.compute.vm_frontend.network_interface[0].access_config[0].nat_ip
|
value = module.compute.ip_public_frontend
|
||||||
}
|
}
|
||||||
|
|
||||||
output "nom_instances" {
|
output "nom_instances" {
|
||||||
value = {
|
value = module.compute.nom_instances
|
||||||
frontend = module.compute.nom_instances.frontend
|
|
||||||
backend = module.compute.nom_instances.backend
|
|
||||||
database = module.compute.nom_instances.database
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
output "service_account_email" {
|
output "service_account_email" {
|
||||||
description = "Service account email."
|
|
||||||
value = module.iam.service_account.email
|
value = module.iam.service_account.email
|
||||||
}
|
}
|
||||||
|
|
||||||
output "service_account_key" {
|
output "service_account_key" {
|
||||||
description = "Service account key."
|
value = module.iam.service_account_key
|
||||||
sensitive = true
|
|
||||||
value = module.iam.service_account_email.mykey.private_key
|
|
||||||
}
|
}
|
||||||
|
|
||||||
output "vpc" {
|
output "vpc" {
|
||||||
value = module.network.vpc.value
|
value = module.network.vpc
|
||||||
}
|
}
|
||||||
|
|
||||||
output "subnets" {
|
output "subnets" {
|
||||||
value = {
|
value = module.network.subnets
|
||||||
frontend = module.network.subnets.frontend
|
|
||||||
backend = module.network.subnets.backend
|
|
||||||
database = module.network.subnets.database
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user