terraform-aws-modules/terraform-aws-lambda

Lambda Event Source Mapping remain disabled after re-creating lambdas

hussainbani opened this issue · 3 comments

After recreating lambdas. event source mapping remains disabled until terraform is re-applied. The fix should be simple as enabling it by default.

enabled = try(each.value.enabled, null)

This should be true by default as the creation is already controlled via for_each.

I think you are right, please submit a PR.

Fixed in #321

I'm going to lock this issue because it has been closed for 30 days . This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.