Skip to content

Add Terraform support for regional backend buckets#1221

Merged
modular-magician merged 1 commit intoterraform-google-modules:masterfrom
modular-magician:downstream-pr-ca0aadc17f558f724d9f52cd5727e3d1f7e10741
Feb 17, 2026
Merged

Add Terraform support for regional backend buckets#1221
modular-magician merged 1 commit intoterraform-google-modules:masterfrom
modular-magician:downstream-pr-ca0aadc17f558f724d9f52cd5727e3d1f7e10741

Conversation

@modular-magician
Copy link
Collaborator

Description

This PR adds Terraform support for Regional Backend Buckets (google_compute_region_backend_bucket), enabling GCS integration with regional HTTP(S) load balancers.

What does this PR do?

  • Adds new resource: google_compute_region_backend_bucket
  • Supports both INTERNAL_MANAGED and EXTERNAL_MANAGED load balancing schemes
  • Includes IAM policy support (beta version)
  • Adds 3 documentation examples demonstrating different use cases

GCP API Reference

Testing

End-to-end tested with GCP API:

  • INTERNAL_MANAGED scheme: Successfully created in us-central1
  • EXTERNAL_MANAGED scheme: Successfully created in us-east1
  • Verified via gcloud beta compute backend-buckets describe
  • All fields (bucketName, loadBalancingScheme, region) working correctly

Files Changed

  • mmv1/products/compute/RegionBackendBucket.yaml - Resource definition
  • mmv1/templates/terraform/examples/region_backend_bucket_basic.tf.tmpl - Basic example
  • mmv1/templates/terraform/examples/region_backend_bucket_internal_lb.tf.tmpl - Internal ALB example
  • mmv1/templates/terraform/examples/region_backend_bucket_external_lb.tf.tmpl - External ALB example

`google_compute_region_backend_bucket`

Derived from GoogleCloudPlatform/magic-modules#16308

[upstream:ca0aadc17f558f724d9f52cd5727e3d1f7e10741]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit ba2157c into terraform-google-modules:master Feb 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments