Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add storage_billing_model and default_partition_expiration_ms #331

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

SamuZad
Copy link

@SamuZad SamuZad commented Jul 3, 2024

This closes #235 (which previously had a PR that was cancelled) and #333

Adds the option to specify storage_billing_model
Also adds in validation for storage_billing_model
Adds the option to specify default_partition_expiration_ms

Regarding validation, I've wanted to preserve the default behaviour of the underlying terraform resource so the default of storage_billing_model is null. This is to make the addition of this variable as seamless as possible. However, this means that I can't use the contains function to validate the variable, as contains() errors out if what it checks is null

@SamuZad SamuZad requested review from davenportjw, shanecglass and a team as code owners July 3, 2024 09:10
Copy link

google-cla bot commented Jul 3, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@SamuZad SamuZad changed the title feat: add storage_billing_model feat: add storage_billing_model and default_partition_expiration_ms Jul 9, 2024
@SamuZad
Copy link
Author

SamuZad commented Jul 9, 2024

@davenportjw @shanecglass any chance we could get a review for this?

@g-awmalik
Copy link
Contributor

/gcbrun

@g-awmalik
Copy link
Contributor

/gcbrun

Copy link
Contributor

@g-awmalik g-awmalik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @SamuZad. Please address a minor nit. Looks good overall.

variables.tf Outdated Show resolved Hide resolved
Co-authored-by: Awais Malik <[email protected]>
@SamuZad
Copy link
Author

SamuZad commented Aug 1, 2024

@g-awmalik thank you! Made the suggested change

@SamuZad
Copy link
Author

SamuZad commented Oct 2, 2024

@g-awmalik any chance for a merge?

@zckrs
Copy link

zckrs commented Oct 24, 2024

any news about this PR ?

Copy link

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add storage_billing_model argument for google_bigquery_dataset
4 participants