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 2
2
3
3
All notable changes to this module will be documented in this file.
4
4
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
+
5
17
## [ v1.2.1] - 2023-10-19
6
18
7
19
### Changed
Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ resource "aws_lambda_function" "this" {
256
256
257
257
# Read source code from local
258
258
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
260
260
261
261
# Specification
262
262
timeout = var. timeout
Original file line number Diff line number Diff line change @@ -43,25 +43,6 @@ variable "source_code_dir" {
43
43
default = " "
44
44
}
45
45
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
- }
65
46
/* -------------------------------------------------------------------------- */
66
47
/* Resource Based Policy */
67
48
/* -------------------------------------------------------------------------- */
Original file line number Diff line number Diff line change @@ -10,5 +10,9 @@ terraform {
10
10
source = " hashicorp/archive"
11
11
version = " >= 2.0.0"
12
12
}
13
+ null = {
14
+ source = " hashicorp/null"
15
+ version = " >= 3.0.0"
16
+ }
13
17
}
14
18
}
You can’t perform that action at this time.
0 commit comments