File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
examples/simple-lambda-with-deploy-test Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ module "lambda_api" {
22
22
app_name = "my-lambda"
23
23
env = "dev"
24
24
codedeploy_service_role_arn = module.acs.power_builder_role.arn
25
- lambda_src_dir = "./src"
25
+ lambda_zip_file = "./src/lambda.zip "
26
26
handler = "index.handler"
27
27
runtime = "nodejs12.x"
28
28
hosted_zone = module.acs.route53_zone
@@ -69,7 +69,7 @@ module "lambda_api" {
69
69
| app_name | string | application name |
70
70
| env | string | application environment (e.g. dev, stg, prd) |
71
71
| codedeploy_service_role_arn | string | ARN of the IAM Role for the CodeDeploy to use to initiate new deployments. (usually the PowerBuilder Role) |
72
- | lambda_src_dir | string | Directory that contains your lambda source code |
72
+ | lambda_zip_file | string | File that contains your compiled or zipped source code. |
73
73
| handler | string | Lambda event handler |
74
74
| runtime | string | Lambda runtime |
75
75
| environment_variables | map(string) | A map that defines environment variables for the Lambda function. |
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ module "lambda_api" {
12
12
app_name = " my-lambda"
13
13
env = " dev"
14
14
codedeploy_service_role_arn = module. acs . power_builder_role . arn
15
- lambda_zip_file = " ./src"
15
+ lambda_zip_file = " ./src/lambda.zip "
16
16
handler = " index.handler"
17
17
runtime = " nodejs12.x"
18
18
hosted_zone = module. acs . route53_zone
You can’t perform that action at this time.
0 commit comments