diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b82872..d78763e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ All notable changes to this module will be documented in this file. +## [v1.2.2] - 2023-11-20 + +### Changed + +- Resolved an issue with Terraform apply process + - From function(data) `base64sha256(data.archive_file.this.output_path)` to use data.output `data.archive_file.this.output_base64sha256` +- Set null resource provider version `>= 3.0.0` + +### Removed + +- Unused variables `plaintext_params` and `config_file_name` + ## [v1.2.1] - 2023-10-19 ### Changed diff --git a/main.tf b/main.tf index 323bd91..9c30802 100644 --- a/main.tf +++ b/main.tf @@ -256,7 +256,7 @@ resource "aws_lambda_function" "this" { # Read source code from local filename = local.file_name - source_code_hash = base64sha256(data.archive_file.this.output_path) + source_code_hash = data.archive_file.this.output_base64sha256 # Specification timeout = var.timeout diff --git a/variables.tf b/variables.tf index a26e095..f380b14 100644 --- a/variables.tf +++ b/variables.tf @@ -43,25 +43,6 @@ variable "source_code_dir" { default = "" } -variable "plaintext_params" { - description = <