Skip to content
Snippets Groups Projects
Commit f351f246 authored by nimrod's avatar nimrod
Browse files

Rename functions.

parent 5453dadf
No related branches found
No related tags found
No related merge requests found
Pipeline #1306 passed
......@@ -93,7 +93,7 @@ output "timeout" {
resource "aws_lambda_function" "function" {
count = length(local.functions)
runtime = var.runtime
function_name = "${local.function_name_prefix}_${local.functions[count.index]}"
function_name = "${local.function_name_prefix}-${replace(local.functions[count.index], "_", "")}"
role = local.lambda_role_arn
source_code_hash = filebase64sha256("payload.zip")
s3_bucket = local.payloads_bucket_name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment