Skip to content

Commit

Permalink
Do not require enable_dynamic_partitioning for dynamic_partition_appe…
Browse files Browse the repository at this point in the history
…nd_delimiter_to_record
  • Loading branch information
Tonkonozhenko authored Mar 5, 2024
1 parent 2ef8eff commit 43fbbc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ locals {
is_search_destination = contains(["elasticsearch", "opensearch", "opensearchserverless"], local.destination) ? true : false

# Data Transformation
enable_processing = var.enable_lambda_transform || var.enable_dynamic_partitioning || var.enable_cloudwatch_logs_decompression
enable_processing = var.enable_lambda_transform || var.enable_dynamic_partitioning || var.enable_cloudwatch_logs_decompression || var.dynamic_partition_append_delimiter_to_record
lambda_processor = var.enable_lambda_transform ? {
type = "Lambda"
parameters = [
Expand Down Expand Up @@ -68,7 +68,7 @@ locals {
},
]
} : null
append_delimiter_processor = var.enable_dynamic_partitioning && var.dynamic_partition_append_delimiter_to_record ? {
append_delimiter_processor = var.dynamic_partition_append_delimiter_to_record ? {
type = "AppendDelimiterToRecord"
parameters = []
} : null
Expand Down

0 comments on commit 43fbbc1

Please sign in to comment.