Merge branch 'master' into fast-dev

This commit is contained in:
Julio Castillo
2024-11-17 22:01:21 +01:00
6 changed files with 53 additions and 18 deletions

View File

@@ -491,10 +491,14 @@ module "apigee-x-foundations" {
| [apigee_vpc_id](outputs.tf#L22) | Apigee VPC. | | |
| [apigee_vpc_self_link](outputs.tf#L27) | Apigee VPC. | | |
| [endpoint_attachment_hosts](outputs.tf#L31) | Endpoint attachment hosts. | | |
| [ext_lb_ip_address](outputs.tf#L36) | External IP address. | | |
| [instance_service_attachments](outputs.tf#L41) | Instance service attachments. | | |
| [int_cross_region_lb_ip_addresses](outputs.tf#L46) | Internal IP addresses. | | |
| [int_lb_ip_addresses](outputs.tf#L51) | Internal IP addresses. | | |
| [project](outputs.tf#L56) | Project. | | |
| [project_id](outputs.tf#L61) | Project id. | | |
| [ext_lb](outputs.tf#L36) | External LB. | | |
| [ext_lb_ip_address](outputs.tf#L41) | External IP address. | | |
| [instance_service_attachments](outputs.tf#L46) | Instance service attachments. | | |
| [instances](outputs.tf#L51) | Instances. | | |
| [int_cross_region_lb](outputs.tf#L56) | Internal cross-region LBs. | | |
| [int_cross_region_lb_ip_addresses](outputs.tf#L61) | Internal IP addresses. | | |
| [int_lb_ip_addresses](outputs.tf#L66) | Internal IP addresses. | | |
| [int_lbs](outputs.tf#L71) | Internal LBs. | | |
| [project](outputs.tf#L76) | Project. | | |
| [project_id](outputs.tf#L81) | Project id. | | |
<!-- END TFDOC -->

View File

@@ -33,6 +33,11 @@ output "endpoint_attachment_hosts" {
value = module.apigee.endpoint_attachment_hosts
}
output "ext_lb" {
description = "External LB."
value = var.ext_lb_config != null && length(local.ext_instances) > 0 ? module.ext_lb[0] : null
}
output "ext_lb_ip_address" {
description = "External IP address."
value = var.ext_lb_config != null && length(local.ext_instances) > 0 ? module.ext_lb[0].address : null
@@ -43,6 +48,16 @@ output "instance_service_attachments" {
value = { for k, v in module.apigee.instances : k => v.service_attachment }
}
output "instances" {
description = "Instances."
value = module.apigee.instances
}
output "int_cross_region_lb" {
description = "Internal cross-region LBs."
value = var.int_cross_region_lb_config != null && length(local.int_cross_region_instances) > 0 ? module.int_cross_region_lb[0] : null
}
output "int_cross_region_lb_ip_addresses" {
description = "Internal IP addresses."
value = var.int_cross_region_lb_config != null && length(local.int_cross_region_instances) > 0 ? module.int_cross_region_lb[0].addresses : null
@@ -53,6 +68,11 @@ output "int_lb_ip_addresses" {
value = var.int_lb_config != null && length(local.int_instances) > 0 ? { for k, v in module.int_lb : k => v.address } : null
}
output "int_lbs" {
description = "Internal LBs."
value = module.int_lb
}
output "project" {
description = "Project."
value = module.project