forked from pierront/but3-iac
mja
This commit is contained in:
@@ -1,28 +1,41 @@
|
||||
output "vpc_id" {
|
||||
value = module.network.vpc_id
|
||||
output "instance_ip_main" {
|
||||
value = {
|
||||
frontend = module.compute.internal_ips["frontend"]
|
||||
backend = module.compute.internal_ips["backend"]
|
||||
database = module.compute.internal_ips["database"]
|
||||
}
|
||||
}
|
||||
|
||||
output "subnet_ids" {
|
||||
value = module.network.subnet_ids
|
||||
|
||||
output "private_ip_frontend_main" {
|
||||
value = module.compute.private_ip_frontend
|
||||
}
|
||||
|
||||
output "frontend_public_ip" {
|
||||
value = module.compute.frontend_public_ip
|
||||
output "name_instance_main" {
|
||||
value = {
|
||||
frontend = module.compute.name_instance["frontend"]
|
||||
backend = module.compute.name_instance["backend"]
|
||||
database = module.compute.name_instance["database"]
|
||||
}
|
||||
}
|
||||
|
||||
output "internal_ips" {
|
||||
value = module.compute.internal_ips
|
||||
output "service_account_email_main" {
|
||||
value = module.iam.service_account_email
|
||||
}
|
||||
|
||||
output "instance_names" {
|
||||
value = module.compute.instance_names
|
||||
output "service_account_key_main" {
|
||||
value = module.iam.service_account_key
|
||||
sensitive = true
|
||||
}
|
||||
|
||||
output "service_account_email" {
|
||||
value = module.iam.service_account_email
|
||||
output "vpc_id_main" {
|
||||
value = module.network.vpc_id
|
||||
}
|
||||
|
||||
output "service_account_key" {
|
||||
value = module.iam.service_account_private_key
|
||||
sensitive = true
|
||||
output "subnet_ids_main" {
|
||||
value = {
|
||||
frontend = module.network.subnet_ids["frontend"]
|
||||
backend = module.network.subnet_ids["backend"]
|
||||
database = module.network.subnet_ids["database"]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,5 +5,4 @@ output "service_account_email" {
|
||||
output "service_account_key" {
|
||||
value = google_service_account_key.mykey.private_key
|
||||
sensitive = true
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user