Skip to content

Latest commit

 

History

History
1236 lines (663 loc) · 61 KB

CHANGELOG.md

File metadata and controls

1236 lines (663 loc) · 61 KB

Changelog

All notable changes to this project will be documented in this file.

7.4.0 (2024-05-03)

Features

  • Added support for CW log_group_class and skip_destroy (#565) (7256f7c)

7.3.0 (2024-05-03)

Features

  • Added create before destroy on aws_lambda_permission (#561) (e9c4676)

7.2.6 (2024-04-12)

Bug Fixes

  • Zip source directory should read from sh_work_dir (#560) (f786681)

7.2.5 (2024-03-29)

Bug Fixes

  • Run pre-commit autoupdate (trigger patch release) (#555) (8bb79de)

7.2.4 (2024-03-29)

Bug Fixes

  • Dont raise FileNotFoundError from close() on tmpfile rename (#550) (58ba987)

7.2.3 (2024-03-22)

Bug Fixes

  • Fixed constant drift with Lambda logging configuration (#551) (8f97707)

7.2.2 (2024-03-13)

Bug Fixes

  • Update CI workflow versions to remove deprecated runtime warnings (#549) (cfe47e6)

7.2.1 (2024-01-31)

Bug Fixes

  • Dynamic logging config for Gov Cloud (#541) (b9a6ea1)

7.2.0 (2024-01-26)

Features

  • Added support to override default tags of provider in S3 object (#538) (e33a1a1)

7.1.0 (2024-01-22)

Features

  • Commands should fail the build if their exit code is not zero (#534) (eebfc36)

7.0.0 (2024-01-19)

⚠ BREAKING CHANGES

  • Added advanced logging configuration. Bump version of AWS provider to 5.32 (#531)

Features

  • Added advanced logging configuration. Bump version of AWS provider to 5.32 (#531) (259b403)

6.8.0 (2024-01-17)

Features

  • Allow defining direct path to pyproject.toml (#525) (d33b722)

6.7.1 (2024-01-15)

Bug Fixes

  • Set timeouts only when values are given (#522) (b4bfe39)

6.7.0 (2024-01-14)

Features

  • Add control to use timestamp to trigger the package creation or not (useful for CI/CD) (#521) (57dbfc1)

6.6.0 (2024-01-12)

Features

  • Added support for triggers on docker_registry_image resource (#518) (4ed7d19)

6.5.0 (2023-11-22)

Features

  • Added variable to control the create log group permission (#514) (c173c27)

6.4.0 (2023-11-07)

Features

  • Added support for triggers in docker-build module when hash changes (#510) (41d8db7)

6.3.0 (2023-11-03)

Features

  • Allow to specify custom KMS key for S3 object (#505) (eb339d6)

6.2.0 (2023-10-27)

Features

  • Make compatible_runtimes optional, added sam metadata control (#493) (180da4c)

6.1.0 (2023-10-27)

Features

  • Allows tags to be provided only to the function (#508) (610d602)

6.0.1 (2023-10-05)

Bug Fixes

  • Fixed npm install on Windows without having to use wsl (#502) (ffa56e8)

6.0.0 (2023-08-09)

⚠ BREAKING CHANGES

  • Disable creation of SAM metadata null-resources by default (#494)

Features

  • Disable creation of SAM metadata null-resources by default (#494) (9c9603c)

5.3.0 (2023-07-17)

Features

5.2.0 (2023-07-05)

Features

5.1.0 (2023-07-04)

Features

  • Support maximum concurrency of Lambda Alias with SQS as an event source (#457) (24bd26e)

5.0.0 (2023-06-05)

⚠ BREAKING CHANGES

  • Bump versions of Terraform to 1.0, kreuzwerker/docker provider to 3.0 (#464)

Features

  • Bump versions of Terraform to 1.0, kreuzwerker/docker provider to 3.0 (#464) (3f2044f)

4.18.0 (2023-05-17)

Features

  • Added control to create logs by Lambda@Edge in all regions (#462) (712d8ec)

4.17.0 (2023-05-04)

Features

4.16.0 (2023-04-18)

Features

  • Adding variable principal_org_id to resource aws_lambda_permission (#448) (31d75e7)

4.15.0 (2023-04-17)

Features

4.14.0 (2023-04-14)

Features

  • Add max session duration for IAM role (#391) (3a21ac5)

4.13.0 (2023-04-03)

Features

  • Support maximum concurrency of Lambda with SQS as an event source (#402) (268975c)

4.12.1 (2023-03-10)

Bug Fixes

  • Set the default value of replacement_security_group_ids to null (#434) (a2d9ff9)

4.12.0 (2023-03-10)

Features

  • Added configuration options to replace security groups on destroy of Lambda function (#422) (2d92236)

4.11.0 (2023-03-10)

Features

  • Add dynamic blocks for consumer group id config (#399) (7d7bb79)

4.10.1 (2023-02-13)

Bug Fixes

  • Properly construct poetry commands when not using docker for building package (#420) (97b00d3)

4.10.0 (2023-02-10)

Features

  • Allow multiple filters in event source mappings (#379) (66eb330)

4.9.0 (2023-01-30)

Features

4.8.0 (2023-01-18)

Features

  • Update docker provider pin to 2.x in docker-build submodule (#401) (fc2a39b)

4.7.2 (2023-01-10)

Bug Fixes

  • Use a version for to avoid GitHub API rate limiting on CI workflows (#393) (5481694)

4.7.1 (2022-11-11)

Bug Fixes

  • Fixed opposite refresh_alias behavior in modules/alias (#372) (f7b2a3a)

4.7.0 (2022-11-11)

Features

  • Added static/defined/computed ARN for the Lambda Function outputs (#376) (eed4f42)

4.6.1 (2022-11-07)

Bug Fixes

  • Update CI configuration files to use latest version (#374) (4a75d95)

4.6.0 (2022-11-03)

Features

  • Add SAM Metadata resources to enable the integration with SAM CLI tool (#325) (bfcd34c)

4.5.0 (2022-10-31)

Features

  • Support additional arguments for docker and entrypoint override (#366) (dc4d000)

4.4.1 (2022-10-31)

Bug Fixes

  • Fixed policy name when create_role is false (#371) (da56fc5)

4.4.0 (2022-10-31)

Features

  • Add a way to define IAM policy name prefix (#354) (7df6bbf)

4.3.0 (2022-10-31)

Features

  • Support installing poetry dependencies with pip (#311) (398ae5a)

4.2.2 (2022-10-31)

Bug Fixes

  • Checks for npm instead of runtime when building nodejs packages (#364) (682052c)

4.2.1 (2022-10-27)

Bug Fixes

4.2.0 (2022-10-22)

Features

  • Added support for Code Signing Configuration (#351) (dd40178)

4.1.4 (2022-10-21)

Bug Fixes

  • Skips the runtime test when building in docker (#362) (2055256)

4.1.3 (2022-10-20)

Bug Fixes

  • Performs plan-phase runtime check only if building package (#359) (dfc8934)

4.1.2 (2022-10-20)

Bug Fixes

  • Generates error in plan phase if runtime is not available (#358) (f9bf21d)

4.1.1 (2022-10-14)

Bug Fixes

  • Forces the local_filename output to wait for the package to be built (#356) (745dc53)

4.1.0 (2022-10-14)

Features

  • Add example for S3 bucket access through VPC Endpoint (#349) (2ceb32f)

4.0.2 (2022-09-17)

Bug Fixes

  • Override docker entrypoint when it exists (#316) (3bb7623)

4.0.1 (2022-09-01)

Bug Fixes

  • Lambda should depend on policy attachments (#327) (b4eef74)

4.0.0 (2022-08-18)

⚠ BREAKING CHANGES

  • Updated AWS provider to v4, added ECR repo force_delete argument in docker-build module (#337)

Features

  • Updated AWS provider to v4, added ECR repo force_delete argument in docker-build module (#337) (953ccee)

3.3.1 (2022-06-17)

Bug Fixes

  • Fixed enabled attribute in Lambda Event Source Mapping by default (#321) (779b368)

3.3.0 (2022-06-16)

Features

  • Added support for event source mapping in alias submodule (#320) (af22d00)

3.2.1 (2022-05-23)

Bug Fixes

  • Removed docker provider block from docker-build submodule (#314) (151a09a)

3.2.0 (2022-04-27)

Features

  • Add support for Lambda Function URL resource (#308) (c239f9d)

3.1.1 (2022-04-13)

Bug Fixes

  • Fixed ephemeral_storage in AWS govcloud region (#305) (13c4449)

3.1.0 (2022-03-28)

Features

  • Added support for self managed kafka in event source mapping (#278) (ee41186)

3.0.1 (2022-03-28)

Bug Fixes

  • Removed hard-coded AWS account id in examples (#275) (5ab1383)

3.0.0 (2022-03-28)

⚠ BREAKING CHANGES

  • Updated AWS provider to version 4.8 (#296)

Features

  • Added support for ephemeral storage (requires AWS provider version 4.8.0) (#291) (f191bae)
  • Updated AWS provider to version 4.8 (#296) (d4b55a8), closes #291

2.36.0 (2022-03-26)

Features

  • Add support to build automatically npm dependencies (#293) (ecb3807)

2.35.1 (2022-03-18)

Bug Fixes

  • Added support for keep_remotely in docker-build submodule (#284) (db34260)

2.35.0 (2022-03-12)

Features

  • Made it clear that we stand with Ukraine (2d32d84)

2.34.1 (2022-02-23)

Bug Fixes

  • Fixed event source mapping filter criteria (#272) (a5c03fe)

2.34.0 (2022-01-31)

Features

  • Add event filter criteria capabilities (#242) (159f57a)

2.33.2 (2022-01-21)

Bug Fixes

2.33.1 (2022-01-21)

Bug Fixes

2.33.0 (2022-01-21)

Features

  • Accept new arguments function_response_types in aws_lambda_event_source_mapping (#255) (1fda108)

2.32.0 (2022-01-17)

Features

  • Added flag to exclude general tags from S3 Object tagging (#250) (a8a185c)

2.31.0 (2022-01-10)

Features

  • Allow the use of third party images to build dependencies (#245) (0a9793e)

2.30.0 (2022-01-06)

Features

  • Added support for skip_destroy in Lambda Layer Version (#244) (b9671e1)

2.29.0 (2022-01-05)

Features

  • Add ECR Lifecycle Policy Option to docker-build module (#243) (577b077)

2.28.0 (2021-12-10)

Features

  • Add pip_tmp_dir to allow setting the location of the pip temporary directory (#230) (f5f86b5)

2.27.1 (2021-11-27)

Bug Fixes

  • update CI/CD process to enable auto-release workflow (#234) (e882a07)

v2.27.0 - 2021-11-22

  • feat: Added support for random sleep delay in deploy submodule (#233)

v2.26.0 - 2021-11-12

  • fix: Fixed max timeout for Lambda@Edge (#232)

v2.25.0 - 2021-11-09

  • feat: Added required IAM permissions for CodeDeploy hooks (#228)

v2.24.0 - 2021-11-05

  • feat: Added support for Cross-Account ECR for docker-build module (#227)
  • fix: Raise failure when CodeDeploy deployment fails (#225)

v2.23.0 - 2021-10-22

  • feat: Allow passing build_args for building with docker-build module (#217)

v2.22.0 - 2021-10-12

  • feat: Add policy_path variable for IAM policies (#202)
  • chore: Added example for pip install in layers (#214)

v2.21.0 - 2021-10-07

  • fix: Use AWSXRayDaemonWriteAccess instead of deprecated AWSXrayWriteOnlyAccess (#211)

v2.20.0 - 2021-10-02

  • feat: Add support for AWS Graviton2 powered functions (#206)

v2.19.0 - 2021-10-01

  • feat: add support for additional assume_role_policy statements (#203)

v2.18.0 - 2021-09-25

  • feat: Added support for partition in IAM policies to work in GovCloud (#201)
  • docs: Added a mention of good examples - 1Mill/serverless-tf-examples (#197)

v2.17.0 - 2021-09-11

  • fix: Replace aws_iam_policy_attachment to aws_iam_role_policy_attachment (#195)

v2.16.0 - 2021-08-30

  • feat: Add recreate_missing_package parameter (#181)

v2.15.0 - 2021-08-30

  • fix: Strip leading ./ in S3 key (#191)
  • docs: Added a note for TFC/TFE customers (#193)

v2.14.0 - 2021-08-30

  • fix: Take patterns into account when computing hash (#169)
  • feat: Add unique_id output of the lambda role (#173)

v2.13.0 - 2021-08-30

  • fix: Sort directories and files to ensure they are always processed in the same order (#177)
  • feat: Added docker pip cache support for macOS (#192)

v2.12.0 - 2021-08-30

  • feat: Add Amazon MQ event source type support (#190)

v2.11.0 - 2021-08-20

  • fix: No need to set aws_s3_bucket_object etag as filename is already a hash of the content (#180)

v2.10.0 - 2021-08-20

  • feat: Add support for separate deployments of infra and code (#175)

v2.9.0 - 2021-08-20

  • feat: Add topics parameter support for lambda event source (#166)

v2.8.0 - 2021-08-14

  • feat: Expose ecr tag & scan variables in docker-build module (#189)

v2.7.0 - 2021-07-08

  • fix: Remove random provider because it is not used (#172)

v2.6.0 - 2021-07-07

  • fix: Fixed deprecated call to map() in deploy submodule (#171)

v2.5.0 - 2021-06-28

  • feat: Add submodule to handle creation of docker images (#162)

v2.4.0 - 2021-06-07

  • docs: Updated README with S3 bucket id handling (#157)

v2.3.0 - 2021-05-27

  • feat: add tags to aws_iam_policy resources (#153)

v2.2.0 - 2021-05-25

  • chore: Remove checked checkboxes to make module docs render properly (#156)

v2.1.0 - 2021-05-20

  • feat: Added destination_config in aws_lambda_event_source_mapping (#152)
  • chore: update CI/CD to use stable terraform-docs release artifact and discoverable Apache2.0 license (#149)
  • chore: Updated versions&comments in examples
  • chore: Updated versions in README

v2.0.0 - 2021-04-26

  • feat: Shorten outputs (removing this_) (#148)

v1.48.0 - 2021-04-26

  • fix: make lambda function depend on the Cloudwatch log group (#133)
  • fix: add documentation for the :zip command (#115)
  • feat: Added example to show creation of Lambdas with for_each (#146)

v1.47.0 - 2021-04-19

  • feat: Extended trusted_entities variable to support multiple types (#143)

v1.46.0 - 2021-04-13

  • fix: package.py not found with -chdir option (#136)

v1.45.0 - 2021-04-06

  • fix: permission for lambda-to-lambda async calls (#141)
  • chore: update documentation and pin terraform_docs version to avoid future changes (#134)

v1.44.0 - 2021-03-09

  • chore: Added examples to show CloudWatch Event Rule as triggers (#126)

v1.43.0 - 2021-03-03

  • fix: Defaults the role_name coalesce to * to workaround import error (#121)

v1.42.0 - 2021-03-02

  • feat: Add s3_acl and s3_server_site_encryption variables (#120)

v1.41.0 - 2021-03-01

  • feat: Added interpreter variable to control script runtime in deploy module (#92)

v1.40.0 - 2021-02-28

  • fix: revert module Terraform 0.13.x version upgrade (#117)
  • chore: fix documentation due to terraform docs 0.11.2 update (#116)

v1.39.0 - 2021-02-22

  • chore: only run validate check on min terraform version (#114)
  • chore: add ci-cd workflow for pre-commit checks (#112)
  • docs: Fixed terraform-docs automatically

v1.38.0 - 2021-02-18

  • feat: Add output for lambda CloudWatch log group name (#111)
  • chore: update documentation based on latest terraform-docs which includes module and resource sections (#108)

v1.37.0 - 2021-02-14

  • feat: Added Lambda event source mapping (#103)

v1.36.0 - 2021-02-03

  • feat: add eventbridge async permissions (#101)

v1.35.0 - 2021-01-26

  • fix: add permission to create log group (#100)
  • docs: Fix memory size limit (#99)

v1.34.0 - 2021-01-14

  • fix: skip creating deployments if current and target versions match (#85)

v1.33.0 - 2021-01-14

  • docs: update description of hook vars, note naming expectations of default policy (#95)

v1.32.0 - 2021-01-14

  • fix: Fixed apigateway trigger to use source_arn (#94)
  • docs: Improved package.py error message for missing source_paths (#88)
  • docs: Explicitly state the IAM role property used for lambda_role (#90)

v1.31.0 - 2020-12-07

  • feat: Add support for creating lambdas that use Container Images (#80)

v1.30.0 - 2020-11-23

  • fix: Fixed CodeDeploy hooks (#76)

v1.29.0 - 2020-11-19

  • feat: Customizable prefixes for IAM policies (as for IAM role) (#74)

v1.28.0 - 2020-11-17

  • feat: Updated range of supported versions of Terraform and providers (#71)

v1.27.0 - 2020-11-02

  • ci: Updated pre-commit hooks, added terraform_validate (#68)

v1.26.0 - 2020-10-27

  • fix: Removed hash_extra_paths to have the same hash for multiple executors (#66)

v1.25.0 - 2020-10-26

  • fix: Fixed concurrent builds (#65)
  • chore: Upgraded pre-commit-terraform to fix terraform-docs

v1.24.0 - 2020-09-23

  • feat: Added tflint as pre-commit hook (#60)

v1.23.0 - 2020-09-14

  • feat: Added support for policy_jsons (list of strings) (#58)

v1.22.0 - 2020-08-26

  • feat: Updated submodules to support Terraform 0.13

v1.21.0 - 2020-08-25

  • fix: os xcode python interpreter (#50)
  • docs: Updated description for provisioned_concurrent_executions (closes #38)
  • chore: Set number_of_policies in example

v1.20.0 - 2020-08-19

  • fix: Fix policy attachments for managed policies (#45)
  • feat: Add support for EFS File System Config (#46)
  • feat: Bump version of AWS provider to support v3
  • feat: Upgraded Terraform version supported
  • docs: Updated FAQ with info about "We currently do not support adding policies for "
  • fix: Adds region wildcard to log group arn when lambda@edge (#35)
  • fix: Fixed issue with zip renaming on Windows platform (#32)
  • feat: docker image building for installing pip requirements independently from OS (#31)
  • fix: Fixed patterns applying (#30)
  • fix: Fixed DUMP_ENV logging level (#28)
  • fix: Fixed IAM policy attachment with multiple functions (#26)
  • feat: Added support for variety of options for source_path, closes #12 (#25)
  • Updated examples and readme
  • Added more samples to examples/simple/main.tf
  • package.py - Log directories with ending /
  • package.py - Log skipped items + made uniform some messages
  • package.py - Added support for comments in patterns
  • package.py - Renamed: logger -> log
  • feat: Added ZipContentFilter class to apply patterns filtering
  • package.py - Fixed and improved logging
  • package.py - Added BuildPlanManager initial implementation
  • package.py - Fixed building in docker
  • package.py - Implemented ZipFileStream.write_file
  • feat: In-place zip archiving
  • package.py - Removed dir changing on zip archive generation
  • package.py - Simplified emit_dir_files func
  • package.py - Fixed timestamp appling
  • package.py - Added hidden hash command to calculate Lambda's content hash
  • package.py - Finished ZipFileStream.write_dirs implementation
  • package.py - Moved borrowed ZipInfo.from_file to a ZipWriteStream class
  • package.py - Added initial ZipFileStream skel
  • package.py - Move out inner functions from *_command functions
  • feat: Added pid to the prepare stage log records
  • feat: Added AWS CodeDeploy group name to outputs
  • fix: Create AWS CodeDeploy resources conditionally
  • fix: Do not create AWS Cloudwatch log group for Lambda Layers
  • feat: Add Cloudwatch Logs resources (or use existing) (#24)

v1.6.1 - 2020-08-14

  • fix: Added support for AWS provider v3 used by notify-slack module with Terraform 0.12

v1.19.0 - 2020-08-14

  • feat: Add support for EFS File System Config (#46)

v1.18.0 - 2020-08-13

  • feat: Bump version of AWS provider to support v3

v1.17.0 - 2020-07-20

  • feat: Upgraded Terraform version supported

v1.16.0 - 2020-06-26

  • docs: Updated FAQ with info about "We currently do not support adding policies for "

v1.15.0 - 2020-06-24

  • fix: Adds region wildcard to log group arn when lambda@edge (#35)

v1.14.0 - 2020-06-18

  • fix: Fixed issue with zip renaming on Windows platform (#32)

v1.13.0 - 2020-06-17

  • feat: docker image building for installing pip requirements independently from OS (#31)

v1.12.0 - 2020-06-16

  • fix: Fixed patterns applying (#30)
  • fix: Fixed DUMP_ENV logging level (#28)

v1.11.0 - 2020-06-16

  • fix: Fixed IAM policy attachment with multiple functions (#26)

v1.10.0 - 2020-06-14

  • feat: Added support for variety of options for source_path, closes #12 (#25)
  • Updated examples and readme
  • Added more samples to examples/simple/main.tf
  • package.py - Log directories with ending /
  • package.py - Log skipped items + made uniform some messages
  • package.py - Added support for comments in patterns
  • package.py - Renamed: logger -> log
  • feat: Added ZipContentFilter class to apply patterns filtering
  • package.py - Fixed and improved logging
  • package.py - Added BuildPlanManager initial implementation
  • package.py - Fixed building in docker
  • package.py - Implemented ZipFileStream.write_file
  • feat: In-place zip archiving
  • package.py - Removed dir changing on zip archive generation
  • package.py - Simplified emit_dir_files func
  • package.py - Fixed timestamp appling
  • package.py - Added hidden hash command to calculate Lambda's content hash
  • package.py - Finished ZipFileStream.write_dirs implementation
  • package.py - Moved borrowed ZipInfo.from_file to a ZipWriteStream class
  • package.py - Added initial ZipFileStream skel
  • package.py - Move out inner functions from *_command functions
  • feat: Added pid to the prepare stage log records

v1.9.0 - 2020-06-12

  • feat: Added AWS CodeDeploy group name to outputs

v1.8.0 - 2020-06-12

  • fix: Create AWS CodeDeploy resources conditionally
  • fix: Do not create AWS Cloudwatch log group for Lambda Layers

v1.7.0 - 2020-06-12

  • feat: Add Cloudwatch Logs resources (or use existing) (#24)

v1.6.0 - 2020-06-11

  • feat: Added package debug levels

v1.5.0 - 2020-06-10

  • fix: Added dependency for aws_s3_bucket_object, fixes #15 (#19)
  • feat: Added support for one-shot artifacts build to skip recreation of missing packages (#20)

v1.4.0 - 2020-06-10

  • feat: Added deploy module to do complex deployments using AWS CodeDeploy (#17)
  • feat: Stable zip archives - v1 (#18)
  • feat: Added better support for Lambda Alias resources via separate submodule (#14)
  • feat: Reliable passing build plan by a separate file + minor changes (#13)

v1.3.0 - 2020-06-07

  • fix: Computed values in number of policies

v1.2.0 - 2020-06-07

  • feat: Added support for Lambda Permissions for allowed triggers (#11)
  • docs: Added link to apigateway-v2 module

v1.1.0 - 2020-06-05

  • feat: Added 4 new ways to customize IAM policies for Lambda Function (#10)
  • Fixed README
  • Updated README formatting

v1.0.0 - 2020-06-04

  • Updated README formatting
  • Initial terraform-aws-lambda implementation
  • Added example of Dockerfile for custom AWS Lambda build env
  • Added initial draft implementation of lambda.py and package.tf

v0.0.1 - 2020-06-02

  • first commit