https://pulumi.com logo
#getting-started
Title
# getting-started
t

thankful-oxygen-71474

06/03/2021, 7:48 AM
Hi everyone After adding 
eslint
 to my project and format all files  I run command 
pulumi up
 and receive multiple errors like this
aws:lambda:Function (dev-v1-internal-verify):
error: 1 error occurred:
* updating urn:pulumi:dev::aok-multi-pulumi::aws:lambda/function:Function::dev-v1-internal-verify: 1 error occurred:
* error modifying Lambda Function (dev-v1-internal-verify-cb6dab7) Code: RequestEntityTooLargeException:
status code: 413, request id: eadb73d4-c9b3-4946-8a4a-ed2743cde46b
Can anyone help ?
b

brave-planet-10645

06/03/2021, 8:13 AM
That's an error coming from the AWS APIs. I'm guessing that somewhere along the line something has changed which has inflated the size of your lambda code. Can you share some before and after code?
t

thankful-oxygen-71474

06/03/2021, 8:16 AM
It seems my mistake was putting packages to
dependencies
instead of
devDependencies
"@types/node": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"prettier": "^2.2.1",
"typescript": "~4.0.0"
57 Views