File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,8 @@ resource "aws_kinesis_firehose_delivery_stream" "this_kinesis" {
8282locals {
8383 oxbow_lambda_unwrap_sns_event = var. enable_group_events == true ? {} : var. sns_topic_arn == " " ? {} : { UNWRAP_SNS_ENVELOPE = true }
8484 group_eventlambda_unwrap_sns_event = var. sns_topic_arn == " " ? {} : { UNWRAP_SNS_ENVELOPE = true }
85+ oxbow_lambda_schema_evolution = var. enable_schema_evolution == false ? {} : { SCHEMA_EVOLUTION = true }
86+
8587}
8688
8789resource "aws_lambda_function" "this_lambda" {
@@ -101,7 +103,7 @@ resource "aws_lambda_function" "this_lambda" {
101103 variables = merge ({
102104 AWS_S3_LOCKING_PROVIDER = var.aws_s3_locking_provider
103105 RUST_LOG = " deltalake=${ var . rust_log_deltalake_debug_level } ,oxbow=${ var . rust_log_oxbow_debug_level } "
104- DYNAMO_LOCK_TABLE_NAME = var.dynamodb_table_name }, local. oxbow_lambda_unwrap_sns_event )
106+ DYNAMO_LOCK_TABLE_NAME = var.dynamodb_table_name }, local. oxbow_lambda_unwrap_sns_event , local . oxbow_lambda_schema_evolution )
105107 }
106108 tags = var. tags
107109}
Original file line number Diff line number Diff line change @@ -304,6 +304,12 @@ variable "enable_glue_create" {
304304 default = false
305305}
306306
307+ variable "enable_schema_evolution" {
308+ type = bool
309+ description = " Whether to turn on schema evolution"
310+ default = true
311+ }
312+
307313variable "glue_create_config" {
308314 type = object ({
309315 athena_workgroup_name = string // Name of AWS Athena workgroup
You can’t perform that action at this time.
0 commit comments