File tree Expand file tree Collapse file tree 4 files changed +17
-20
lines changed Expand file tree Collapse file tree 4 files changed +17
-20
lines changed Original file line number Diff line number Diff line change 22
33All notable changes to this module will be documented in this file.
44
5+ ## [ v1.2.2] - 2023-11-20
6+
7+ ### Changed
8+
9+ - Resolved an issue with Terraform apply process
10+ - From function(data) ` base64sha256(data.archive_file.this.output_path) ` to use data.output ` data.archive_file.this.output_base64sha256 `
11+ - Set null resource provider version ` >= 3.0.0 `
12+
13+ ### Removed
14+
15+ - Unused variables ` plaintext_params ` and ` config_file_name `
16+
517## [ v1.2.1] - 2023-10-19
618
719### Changed
Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ resource "aws_lambda_function" "this" {
256256
257257 # Read source code from local
258258 filename = local. file_name
259- source_code_hash = base64sha256 ( data. archive_file . this . output_path )
259+ source_code_hash = data. archive_file . this . output_base64sha256
260260
261261 # Specification
262262 timeout = var. timeout
Original file line number Diff line number Diff line change @@ -43,25 +43,6 @@ variable "source_code_dir" {
4343 default = " "
4444}
4545
46- variable "plaintext_params" {
47- description = << EOF
48- Lambda@Edge does not support env vars, so it is a common pattern to exchange Env vars for values read from a config file.
49- ! PLAINTEXT
50-
51- ```
52- const config = JSON.parse(readFileSync('./config.json'))
53- const someConfigValue = config.SomeKey
54- ```
55- EOF
56- type = map (string )
57- default = {}
58- }
59-
60- variable "config_file_name" {
61- description = " The name of the file var.plaintext_params will be written to as json"
62- type = string
63- default = " config.json"
64- }
6546/* -------------------------------------------------------------------------- */
6647/* Resource Based Policy */
6748/* -------------------------------------------------------------------------- */
Original file line number Diff line number Diff line change @@ -10,5 +10,9 @@ terraform {
1010 source = " hashicorp/archive"
1111 version = " >= 2.0.0"
1212 }
13+ null = {
14+ source = " hashicorp/null"
15+ version = " >= 3.0.0"
16+ }
1317 }
1418}
You can’t perform that action at this time.
0 commit comments