Skip to content

bigqueryreservation: add principal field to ReservationAssignment#18189

Open
fuzmish wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
fuzmish:fix/reservation-assignments-principal
Open

bigqueryreservation: add principal field to ReservationAssignment#18189
fuzmish wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
fuzmish:fix/reservation-assignments-principal

Conversation

@fuzmish

@fuzmish fuzmish commented Jul 6, 2026

Copy link
Copy Markdown

Summary

This is a re-submission of #17080, which was closed without merge.

The purpose is to support User-specific assignments by adding the principal field to google_bigquery_reservation_assignment. As of June 30, 2026, the feature has been officially released as Public Preview, and the field is now explicitly present in the v1 REST API discovery document. Based on this, we have set this to GA field (not min_version: beta).

Changes:

  • Add principal field to ReservationAssignment resource. Description is taken verbatim from the v1 discovery document.
  • Add new example bigquery_reservation_assignment_full_with_principal (with corresponding test) to cover the principal field. A separate example is used rather than modifying the existing _full example, as principal-based assignment is a distinct usage pattern.

Testing

The provider was built locally from this branch and tested with dev_overrides. Resource creation with principal set to a service account principal was verified to succeed end-to-end.

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

bigqueryreservation: added `principal` field to `google_bigquery_reservation_assignment` resource

@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Jul 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

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

@malhotrasagar2212, 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.

@fuzmish fuzmish force-pushed the fix/reservation-assignments-principal branch from 42b5d41 to 9f8e835 Compare July 6, 2026 18:45
@fuzmish fuzmish force-pushed the fix/reservation-assignments-principal branch from 9f8e835 to 07807ec Compare July 6, 2026 18:52
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.

2 participants