File tree 3 files changed +10
-10
lines changed
3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ Should resolve issues with:
8
8
- No longer have to touch/create .zip file before running terraform
9
9
10
10
``` hcl
11
- module "archive_lambda" {
12
- source = "zip_file/"
13
- source_dir = "dummy_lambda/"
14
- output_path = "dummy_lambda.zip"
15
- }
16
-
17
-
18
- resource "aws_lambda_function" "lambda_function" {
19
- filename = "${module.archive_lambda.zip_path}"
20
- source_code_hash = "${module.archive_lambda.base64sha256}"
11
+ module "archive_lambda" {
12
+ source = "./"
13
+ source_dir = "dummy_lambda/"
14
+ output_path = "dummy_lambda.zip"
15
+ }
16
+
17
+
18
+ resource "aws_lambda_function" "lambda_function" {
19
+ filename = "${module.archive_lambda.zip_path}"
20
+ source_code_hash = "${module.archive_lambda.base64sha256}"
21
21
}
22
22
```
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments