File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ resource "aws_iam_role" "warmer_iam_role" {
3232data "archive_file" "warmer_code" {
3333 type = " zip"
3434 source_dir = " ${ path . module } /lambda"
35- output_path = " ${ path . module } /lambda/ function.zip"
35+ output_path = " ${ path . module } /function.zip"
3636}
3737
3838resource "aws_lambda_function" "warmer_function" {
@@ -44,6 +44,7 @@ resource "aws_lambda_function" "warmer_function" {
4444 source_code_hash = data. archive_file . warmer_code . output_base64sha256
4545 role = aws_iam_role. warmer_iam_role . arn
4646 function_name = " ${ var . function_to_warm } -warmer"
47+ description = " Scheduled invocation to warm ${ var . num_desired_warm_instances } instances of function ${ var . function_to_warm } ."
4748 memory_size = 256
4849 timeout = 15
4950 environment {
You can’t perform that action at this time.
0 commit comments