File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ module "shell_lambda" {
1414 module . assert_single_body . checked
1515 ]
1616 source = " Invicton-Labs/lambda-set/aws"
17- version = " ~> 0.4.1 "
17+ version = " ~> 0.4.2 "
1818 edge = false
1919 source_directory = " ${ path . module } /lambda"
2020 archive_output_directory = " ${ path . module } /archives/"
@@ -25,6 +25,7 @@ module "shell_lambda" {
2525 timeout = var.lambda_timeout
2626 memory_size = var.lambda_memory_size
2727 role = local.lambda_role
28+ layers = var.lambda_layer_arns
2829 tags = {
2930 " ModuleAuthor" = " InvictonLabs"
3031 " ModuleUrl" = " https://registry.terraform.io/modules/Invicton-Labs/lambda-shell/aws"
Original file line number Diff line number Diff line change @@ -60,6 +60,12 @@ variable "lambda_vpc_config" {
6060 default = null
6161}
6262
63+ variable "lambda_layer_arns" {
64+ description = " A list of Lambda Layer ARNs to attach to the Lambda."
65+ type = list (string )
66+ default = []
67+ }
68+
6369data "aws_caller_identity" "current" {}
6470
6571data "aws_arn" "role" {
You can’t perform that action at this time.
0 commit comments