File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # 0.3.15 (Dec 02, 2025)
2+ * Added ` private_service_cidrs ` output for Private services access.
3+
14# 0.3.14 (Oct 22, 2025)
25* Restore service networking identiy creation.
36
Original file line number Diff line number Diff line change @@ -62,3 +62,8 @@ output "vpc_access_connector" {
6262 value = try (google_vpc_access_connector. serverless [0 ]. name , " " )
6363 description = " string ||| The name of the VPC Access Connector that should be used by serverless to access the private subnetworks."
6464}
65+
66+ output "private_service_cidrs" {
67+ value = [local . private_service_cidr ]
68+ description = " list(string) ||| The CIDR range for accessing google-managed services over Private services access."
69+ }
Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ resource "google_compute_global_address" "gcp_private" {
4444 network = google_compute_network. this . id
4545}
4646
47+ locals {
48+ private_service_cidr = " ${ google_compute_global_address . gcp_private . address } /${ google_compute_global_address . gcp_private . prefix_length } "
49+ }
50+
4751// There are 2 outstanding issue related to destroying this resource
4852// - https://github.com/hashicorp/terraform-provider-google/issues/19908
4953// - https://github.com/hashicorp/terraform-provider-google/issues/18834
You can’t perform that action at this time.
0 commit comments