-
Notifications
You must be signed in to change notification settings - Fork 170
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
base: master
Are you sure you want to change the base?
Conversation
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. |
Add default_partition_expiration_ms
@davenportjw @shanecglass any chance we could get a review for this? |
/gcbrun |
/gcbrun |
There was a problem hiding this 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.
Co-authored-by: Awais Malik <[email protected]>
@g-awmalik thank you! Made the suggested change |
@g-awmalik any chance for a merge? |
any news about this PR ? |
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
isnull
. 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, ascontains()
errors out if what it checks is null