A Terraform module to create AWS Lambda ressources.
Full Changelog: https://github.com/moritzzimmer/terraform-aws-lambda/compare/v7.4.1...v7.5.0
Full Changelog: https://github.com/moritzzimmer/terraform-aws-lambda/compare/v7.4.0...v7.4.1
Full Changelog: https://github.com/moritzzimmer/terraform-aws-lambda/compare/v7.3.0...v7.4.0
Full Changelog: https://github.com/moritzzimmer/terraform-aws-lambda/compare/v7.2.0...v7.3.0
Full Changelog: https://github.com/moritzzimmer/terraform-aws-lambda/compare/v7.1.0...v7.2.0
Full Changelog: https://github.com/moritzzimmer/terraform-aws-lambda/compare/v7.0.0...v7.1.0
Minimum versions of Terraform and the AWS provider have been bumped to it's latest versions. Make sure to upgrade your environment to use Terraform >-= 1.0
and your projects to use AWS Provider >= 5.0
.
S3 based deployments relied on CloudTrail (via EventBridge) to propagate uploads of Lambda packages to S3 and start the corresponding CodePipeline. This has been refactored to use S3 Bucket notifications which is the recommended approach by aws.
Make sure to activate S3 bucket notifications for the source bucket of your Lambda function to keep your continuous deployment pipelines working:
resource "aws_s3_bucket" "source" {
bucket = "my-ci-bucket"
force_destroy = true
}
resource "aws_s3_bucket_notification" "source" {
bucket = aws_s3_bucket.source.id
eventbridge = true
}
see S3 or complete for examples and README for details.
If you created a CloudTrail solely for starting your Lambda pipelines you may delete it after migrating to bucket notifications.
Thanks to @saefty for providing this refactoring.
Full Changelog: https://github.com/moritzzimmer/terraform-aws-lambda/compare/v6.13.0...v7.0.0
Full Changelog: https://github.com/moritzzimmer/terraform-aws-lambda/compare/v6.12.0...v6.13.0
Full Changelog: https://github.com/moritzzimmer/terraform-aws-lambda/compare/v6.11.0...v6.12.0
role_arn
to module outputs by @thisismana in https://github.com/moritzzimmer/terraform-aws-lambda/pull/91
Full Changelog: https://github.com/moritzzimmer/terraform-aws-lambda/compare/v6.10.0...v6.11.0