v7.0.0
Breaking changes
Minimum Terraform and AWS provider versions
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
.
Refactored S3 based CodePipelines
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.
What's Changed
- feat(deployment)!: use s3 native notifications over cloudtrail logging by @saefty in #96
- chore(deployment): bumped default base image for CodeBuild by @moritzzimmer in #97
- chore(deployment): use python 3.11 in CodeBuild by @moritzzimmer in #99
- chore!: bumped minimum terraform and aws provider versions by @moritzzimmer in #98
Full Changelog: v6.13.0...v7.0.0