Skip to content

Commit ee10fa4

Browse files
committed
updated docs
1 parent a92501d commit ee10fa4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module "lambda_api" {
2222
app_name = "my-lambda"
2323
env = "dev"
2424
codedeploy_service_role_arn = module.acs.power_builder_role.arn
25-
lambda_src_dir = "./src"
25+
lambda_zip_file = "./src/lambda.zip"
2626
handler = "index.handler"
2727
runtime = "nodejs12.x"
2828
hosted_zone = module.acs.route53_zone
@@ -69,7 +69,7 @@ module "lambda_api" {
6969
| app_name | string | application name |
7070
| env | string | application environment (e.g. dev, stg, prd) |
7171
| 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. |
7373
| handler | string | Lambda event handler |
7474
| runtime | string | Lambda runtime |
7575
| environment_variables | map(string) | A map that defines environment variables for the Lambda function. |

examples/simple-lambda-with-deploy-test/example.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module "lambda_api" {
1212
app_name = "my-lambda"
1313
env = "dev"
1414
codedeploy_service_role_arn = module.acs.power_builder_role.arn
15-
lambda_zip_file = "./src"
15+
lambda_zip_file = "./src/lambda.zip"
1616
handler = "index.handler"
1717
runtime = "nodejs12.x"
1818
hosted_zone = module.acs.route53_zone

0 commit comments

Comments
 (0)