Trying to create a lambda. But getting the following error on execution and I am not able to identify the root cause.
Error creating Lambda function: ValidationException:
[ status code: 400, request id: 8472bfb4-ecfa-4dfa-b7f4-7178c5836336
resource “aws_lambda_function” “test_lambda” {
s3_bucket = “https://”“-us-west-2.amazonaws.com/”
s3_key = “code.zip”
function_name = var.aws_function_name
role = “arn:aws:iam::123456789:role/handler-role”
handler = “test::test.Function::FunctionHandler”
runtime = "dotnetcore2.1
}