hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.36k stars 1.75k forks source link

Fix bug with updating cloudfunctions vpcConnectorEgressSettings #20437

Closed modular-magician closed 17 hours ago

modular-magician commented 17 hours ago

Addressed a bug with updating vpc_connector_egress_settings field in Cloud Functions. The Cloud Functions v1 API currently requires the vpc_connector field to be set whenever vpc_connector_egress_settings gets updated, even if there are no changes to vpc_connector. This change modifies the resource update to include vpc_connector when vpc_connector_egress_settings is being updated.

Release Note Template for Downstream PRs (will be copied)

cloudfunctions: Fixed issue when updating `vpc_connector_egress_settings` field for `google_cloudfunctions_function` resource.

b/351195255

Derived from https://github.com/GoogleCloudPlatform/magic-modules/pull/12145