buildspec.yml
\nversion: 0.2\n\nphases:\n install:\n runtime-versions:\n nodejs: 16\n commands:\n - npm install\n build:\n commands:\n - npm run deploy
inputs:\n name:\n apiLambda: \"sls-website-api\"\n defaultLambda: \"sls-website-default\"\n imageLambda: \"sls-website-image\"
-
inputs:
name:
apiLambda: "sls-website-api"
defaultLambda: "sls-website-default"
imageLambda: "sls-website-image" |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've set up AWS CodeBuild to automatically deploy my website when master branch is updated. The problem is when the website is deployed new lambda functions are generated and old ones are not removed. How can I fix this issue?
I tried setting "inputs.name" but I got an error that says "Name cannot be specified across all Lambdas as it will cause conflicts."
serverless.yml
buildspec.yml
Beta Was this translation helpful? Give feedback.
All reactions