Skip to content

Commit

Permalink
change runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
tajewole-moj committed Oct 17, 2023
1 parent 2e1d577 commit 6954495
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions terraform/environments/apex/lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ filename = ["snapshotDBFunction.zip", "deletesnapshotFunction.zip"]
function_name = ["snapshotDBFunction","deletesnapshotFunction"]
handler = ["snapshot/dbsnapshot.handler","deletesnapshots.lambda_handler"]
role = module.iambackup.backuprole
runtime = [ "nodejs18.x","Python3.8" ]



Expand Down
8 changes: 8 additions & 0 deletions terraform/environments/apex/module/lambda/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,13 @@ variable "handler" {
description = "Function handler"
default = ["snapshot/dbsnapshot.handler",
"deletesnapshots.lambda_handler"
]
}

variable "runtime" {
type = list(string)
description = "Function handler"
default = [""

]
}

0 comments on commit 6954495

Please sign in to comment.