Skip to content

Support attaching regional backend bucket to google_compute_region_url_map - #18881

Open
macwas wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
macwas:b504670641-region-backend-bucket
Open

Support attaching regional backend bucket to google_compute_region_url_map#18881
macwas wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
macwas:b504670641-region-backend-bucket

Conversation

@macwas

@macwas macwas commented Sep 3, 2026

Copy link
Copy Markdown

Fixes hashicorp/terraform-provider-google#26894

Adds support for attaching google_compute_region_backend_bucket to google_compute_region_url_map.

Previously, RegionUrlMap used resourceref_with_validation.go.tmpl which assumed references were always backendServices, transforming backendBuckets paths into backendServices and causing 404 errors from the Compute API. This change introduces reference_to_region_backend.tmpl to preserve backendBuckets URIs/IDs while maintaining shorthand resolution for regional backend services.

compute: added support for attaching `google_compute_region_backend_bucket` to `google_compute_region_url_map`

…l_map

Fixes hashicorp/terraform-provider-google#26894

```release-note:enhancement
compute: added support for attaching `google_compute_region_backend_bucket` to `google_compute_region_url_map`
```
@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Sep 3, 2026
@github-actions
github-actions Bot requested a review from slevenick September 3, 2026 08:52
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

Googlers: For automatic test runs see go/terraform-auto-test-runs.

@slevenick, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-approval Pull requests that need reviewer's approval to run presubmit tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

google_compute_region_url_map don't find google_compute_region_backend_bucket (beta provider)

2 participants