Save Time by Developing AWS Lambda Functions Locally in VS Code

Поделиться
HTML-код
  • Опубликовано: 26 авг 2024

Комментарии • 16

  • @codevev
    @codevev  15 дней назад

    And to learn how to use VSCode on any other device, including your phone, watch ruclips.net/video/XcovoZWAdxE/видео.html

  • @nelsonmaiamatias
    @nelsonmaiamatias 4 месяца назад

    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?

    • @codevev
      @codevev  4 месяца назад +1

      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

  • @codevev
    @codevev  8 месяцев назад

    Have you deployed your first AWS Lambda from VSCode yet?

    • @Tomahawk1955
      @Tomahawk1955 8 месяцев назад

      yes but working on node.js

  • @Tomahawk1955
    @Tomahawk1955 8 месяцев назад

    I don't have the AWS SAM EventBridge App From Scratch option at 7:22

    • @Tomahawk1955
      @Tomahawk1955 8 месяцев назад

      working with nodejs

    • @codevev
      @codevev  8 месяцев назад

      That's strange. Maybe there was an update since I've recorded

  • @timmboo94
    @timmboo94 5 месяцев назад

    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

    • @codevev
      @codevev  5 месяцев назад +1

      You may need to authenticate. Can you go to AWS Toolkit extension and see if it prompts you to log in or anything?

    • @timmboo94
      @timmboo94 5 месяцев назад

      @@codevev This worked, I thought I logged in before but apparently it did not work properly. Thank you very much!

    • @codevev
      @codevev  5 месяцев назад

      Sure thing!

    • @timmboo94
      @timmboo94 5 месяцев назад

      @@codevev I dont have a debugconfiguration that was created for me, do you know why that might be?

    • @codevev
      @codevev  5 месяцев назад

      Not sure. I did have a problem where it would only work if I tried to create it twice I think