Quick question you might know, should I use the same SAM App to create multiple lambda funcitions? If so, how would I do that in VS Code? Or usually we should create one new SAM App per Lambda function?
Great question! I'd have to look to make sure but I think you can just edit your template.yml file to include multiple functions and then just copy the one that was generated before into its own folder/file. If they need to share the same configuration/resources you can use the Globals section of the SAM template. docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-template-anatomy-globals.html
at 7:56 you select the option aws.events as registry, I get this error there: Error loading registries. Source AWS Toolkit - Amazon Q, CodeWhisper and more
And to learn how to use VSCode on any other device, including your phone, watch ruclips.net/video/XcovoZWAdxE/видео.html
Quick question you might know, should I use the same SAM App to create multiple lambda funcitions? If so, how would I do that in VS Code? Or usually we should create one new SAM App per Lambda function?
Great question! I'd have to look to make sure but I think you can just edit your template.yml file to include multiple functions and then just copy the one that was generated before into its own folder/file. If they need to share the same configuration/resources you can use the Globals section of the SAM template. docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-template-anatomy-globals.html
Have you deployed your first AWS Lambda from VSCode yet?
yes but working on node.js
I don't have the AWS SAM EventBridge App From Scratch option at 7:22
working with nodejs
That's strange. Maybe there was an update since I've recorded
at 7:56 you select the option aws.events as registry, I get this error there:
Error loading registries.
Source AWS Toolkit - Amazon Q, CodeWhisper and more
You may need to authenticate. Can you go to AWS Toolkit extension and see if it prompts you to log in or anything?
@@codevev This worked, I thought I logged in before but apparently it did not work properly. Thank you very much!
Sure thing!
@@codevev I dont have a debugconfiguration that was created for me, do you know why that might be?
Not sure. I did have a problem where it would only work if I tried to create it twice I think