pgdump-aws-lambda icon indicating copy to clipboard operation
pgdump-aws-lambda copied to clipboard

Unable to edit files in lib/ in AWS Console?

Open kyager opened this issue 2 years ago • 1 comments

This is from a fresh upload of the repository uploaded to a new Lambda function using the 14.x nodejs runtime.

I'm not sure if this is a bug related to AWS, or if there's something else strange going on with the file. So far I've been able to edit other files in the repository.

Anything in the lib folder causes an error to popup, similar to this: Failed to write to ' maximum time allowed to connect to postgres before a timeout occurs PGCONNECT_TIMEOUT: 15, USE_IAM_AUTH: false } '. Cannot read properties of undefined (reading 'some').

kyager avatar Jun 03 '22 13:06 kyager

It appears that unzipping the release, and creating a new zip from the files resolves this issue, but I have no idea why or what caused the original issue.

kyager avatar Jun 03 '22 13:06 kyager