You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.
If an issue is assigned to a user, that user is claiming responsibility for the issue.
Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.
Description
When BigQuery uses a customer-managed Cloud KMS key for encryption, the key needs to be explicitly specified at query-time.
Instead, I've had to manually run a DDL statement which appears to be the only way set the project default key (Google docs)
There doesn't appear to be a way to configure BigQuery at the project level like this through the Terraform provider but it'd be great to do so and avoid this manual step.
Yes the only way to set a project-level default key is by running a DDL statement today. You may explore using the google_bigquery_job Terraform resource to run that statement as a query job in your setup. Please let us know if that works or doesn't work for your use case.
Requesting the current terraform-team-oncall @shuyama1 to close this issue as a workaround has been communicated over a month ago and we won't be pursuing adding that functionality to an existing or new Terraform resource at this time.
Requesting the current terraform-team-oncall @shuyama1 to close this issue as a workaround has been communicated over a month ago and we won't be pursuing adding that functionality to an existing or new Terraform resource at this time.
@shuyama1 Could you help close this issue? Thanks.
Community Note
Description
When BigQuery uses a customer-managed Cloud KMS key for encryption, the key needs to be explicitly specified at query-time.
We currently use the BigQuery datasource for Grafana, and that has no option to specify a key.
Instead, I've had to manually run a DDL statement which appears to be the only way set the project default key (Google docs)
There doesn't appear to be a way to configure BigQuery at the project level like this through the Terraform provider but it'd be great to do so and avoid this manual step.
New or Affected Resource(s)
Potential Terraform Configuration
References
No response
b/377316940
The text was updated successfully, but these errors were encountered: