Skip to content

Call to function "filebase64sha256" failed: open ../webhook.zip: no such file or directory. #4462

Open
@ofiryy

Description

@ofiryy

I run the module and get multiple errors of this form:

│ Error: Error in function call
│
│   on .terraform/modules/runners/modules/webhook/direct/webhook.tf line 10, in resource "aws_lambda_function" "webhook":
│   10:   source_code_hash  = var.config.lambda_s3_bucket == null ? filebase64sha256(local.lambda_zip) : null
│     ├────────────────
│     │ while calling filebase64sha256(path)
│     │ local.lambda_zip is "./../webhook.zip"
│
│ Call to function "filebase64sha256" failed: open ../webhook.zip: no such file or directory.

what could be the issue ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions