Skip to content

Commit

Permalink
feat: Make BigQuery log destinations partitioned (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
vovinacci authored and bharathkkb committed Mar 31, 2021
1 parent c5c6c6c commit f40c5fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 1-org/envs/shared/log_sinks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ resource "random_string" "suffix" {
}

/******************************************
Send logs to BigQury
Send logs to BigQuery
*****************************************/

module "log_export_to_biqquery" {
Expand All @@ -48,6 +48,9 @@ module "log_export_to_biqquery" {
parent_resource_type = local.parent_resource_type
include_children = true
unique_writer_identity = true
bigquery_options = {
use_partitioned_tables = true
}
}

module "bigquery_destination" {
Expand Down

0 comments on commit f40c5fe

Please sign in to comment.