Include url_map_id in output from LB creation (#3947)

* Include url_map_id in output from LB creation

* tofu fmt
This commit is contained in:
Simon Roberts
2026-05-08 15:57:01 +10:00
committed by GitHub
parent dff4378cdc
commit ef3af4fd28
8 changed files with 24 additions and 0 deletions

View File

@@ -863,6 +863,7 @@ For deploying changes to load balancer configuration please refer to [net-lb-app
| [health_check_ids](outputs.tf#L48) | Autogenerated health check ids. | |
| [id](outputs.tf#L55) | Fully qualified forwarding rule id. | |
| [neg_ids](outputs.tf#L60) | Autogenerated network endpoint group ids. | |
| [url_map_id](outputs.tf#L78) | Fully qualified URL map ID (resource path) for use in IAM conditions and API calls. | |
## Fixtures

View File

@@ -74,3 +74,8 @@ output "neg_ids" {
}
)
}
output "url_map_id" {
description = "Fully qualified URL map ID (resource path) for use in IAM conditions and API calls."
value = google_compute_region_url_map.default.id
}

View File

@@ -1269,6 +1269,7 @@ After provisioning this change, and verifying that the new certificate is provis
| [neg_ids](outputs.tf#L79) | Autogenerated network endpoint group ids. | |
| [psc_neg_ids](outputs.tf#L86) | Autogenerated PSC network endpoint group ids. | |
| [serverless_neg_ids](outputs.tf#L93) | Autogenerated serverless network endpoint group ids. | |
| [url_map_id](outputs.tf#L100) | Fully qualified URL map ID (resource path) for use in IAM conditions and API calls. | |
## Fixtures

View File

@@ -96,3 +96,8 @@ output "serverless_neg_ids" {
for k, v in google_compute_region_network_endpoint_group.serverless : k => v.id
}
}
output "url_map_id" {
description = "Fully qualified URL map ID (resource path) for use in IAM conditions and API calls."
value = google_compute_url_map.default.id
}

View File

@@ -851,6 +851,7 @@ When deploying changes to load balancer configuration please refer to [net-lb-ap
| [neg_ids](outputs.tf#L61) | Autogenerated network endpoint group ids. | |
| [psc_neg_ids](outputs.tf#L68) | Autogenerated PSC network endpoint group ids. | |
| [regional_neg_ids](outputs.tf#L75) | Autogenerated regional network endpoint group ids. | |
| [url_map_id](outputs.tf#L82) | Fully qualified URL map ID (resource path) for use in IAM conditions and API calls. | |
## Fixtures

View File

@@ -78,3 +78,8 @@ output "regional_neg_ids" {
for k, v in google_compute_region_network_endpoint_group.default : k => v.id
}
}
output "url_map_id" {
description = "Fully qualified URL map ID (resource path) for use in IAM conditions and API calls."
value = google_compute_url_map.default.id
}

View File

@@ -1149,6 +1149,7 @@ For deploying changes to load balancer configuration please refer to [net-lb-app
| [psc_neg_ids](outputs.tf#L73) | Autogenerated PSC network endpoint group ids. | |
| [regional_neg_ids](outputs.tf#L80) | Autogenerated regional network endpoint group ids. | |
| [service_attachment_id](outputs.tf#L87) | Id of the service attachment. | |
| [url_map_id](outputs.tf#L94) | Fully qualified URL map ID (resource path) for use in IAM conditions and API calls. | |
## Fixtures

View File

@@ -90,3 +90,8 @@ output "service_attachment_id" {
google_compute_service_attachment.default[0].id, null
)
}
output "url_map_id" {
description = "Fully qualified URL map ID (resource path) for use in IAM conditions and API calls."
value = google_compute_region_url_map.default.id
}