Skip to content

Commit d8f1bca

Browse files
committed
fix: runtime parameter of go1.x is no longer being supported
address - InvalidParameterValueException: The runtime parameter of go1.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (provided.al2023) while creating or updating functions.
1 parent 396600e commit d8f1bca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ locals {
2121
split("/", var.lambda_version)[0],
2222
{
2323
architectures = null
24-
handler = "main"
25-
runtime = "go1.x"
24+
handler = "bootstrap"
25+
runtime = "provided.al2"
2626
},
2727
)
2828
}

0 commit comments

Comments
 (0)