Skip to content

Get error in lambda function  #1

@gurumark

Description

@gurumark

Hi there,
Pushing the git rep to s3, aws-git-backed-static-website-SyncLambdaFunction fails with the following error:

local variable 'source_dir' referenced before assignment: UnboundLocalError Traceback (most recent call last): File "/var/task/index.py", line 86, in handler shutil.rmtree(source_dir) UnboundLocalError: local variable 'source_dir' referenced before assignment
local variable 'source_dir' referenced before assignment: UnboundLocalError
Traceback (most recent call last):
File "/var/task/index.py", line 86, in handler
shutil.rmtree(source_dir)
UnboundLocalError: local variable 'source_dir' referenced before assignment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions