diff --git a/CHANGELOG.md b/CHANGELOG.md index 57f2d3d0..92f8eebc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. +### [3.3.1](https://github.com/terraform-aws-modules/terraform-aws-lambda/compare/v3.3.0...v3.3.1) (2022-06-17) + + +### Bug Fixes + +* Fixed enabled attribute in Lambda Event Source Mapping by default ([#321](https://github.com/terraform-aws-modules/terraform-aws-lambda/issues/321)) ([779b368](https://github.com/terraform-aws-modules/terraform-aws-lambda/commit/779b368781f0bf14964c2f6e306c1c9ef4690bbb)) + ## [3.3.0](https://github.com/terraform-aws-modules/terraform-aws-lambda/compare/v3.2.1...v3.3.0) (2022-06-16) diff --git a/main.tf b/main.tf index 3c9e4c4e..e090e96e 100644 --- a/main.tf +++ b/main.tf @@ -240,7 +240,7 @@ resource "aws_lambda_event_source_mapping" "this" { batch_size = try(each.value.batch_size, null) maximum_batching_window_in_seconds = try(each.value.maximum_batching_window_in_seconds, null) - enabled = try(each.value.enabled, null) + enabled = try(each.value.enabled, true) starting_position = try(each.value.starting_position, null) starting_position_timestamp = try(each.value.starting_position_timestamp, null) parallelization_factor = try(each.value.parallelization_factor, null)