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" {
32
32
data "archive_file" "warmer_code" {
33
33
type = " zip"
34
34
source_dir = " ${ path . module } /lambda"
35
- output_path = " ${ path . module } /lambda/ function.zip"
35
+ output_path = " ${ path . module } /function.zip"
36
36
}
37
37
38
38
resource "aws_lambda_function" "warmer_function" {
@@ -44,6 +44,7 @@ resource "aws_lambda_function" "warmer_function" {
44
44
source_code_hash = data. archive_file . warmer_code . output_base64sha256
45
45
role = aws_iam_role. warmer_iam_role . arn
46
46
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 } ."
47
48
memory_size = 256
48
49
timeout = 15
49
50
environment {
You can’t perform that action at this time.
0 commit comments