GithubHelp home page GithubHelp logo

Comments (5)

stevejroberts avatar stevejroberts commented on June 14, 2024

Do you have a defaults file for the tools in the project folder (aws-lambda-tools-defaults.json)? The function handler should be read from that file by the dotnet cli Lambda extension, if the relevant property is set in the file. You should only need the command line argument if you want to override the handler.

Are you seeing a case where the handler name is present in the file but isn't being read by the tools?

from aws-toolkit-azure-devops.

HWouters avatar HWouters commented on June 14, 2024

Thanks, I wasn't using the aws-lambda-tools-defaults.json. Now I do and I don't need the command line argument anymore. But still it's a bit strange you can configure the Function Handler parameter, which is never used. I would expect it overrides the configured handler.

from aws-toolkit-azure-devops.

stevejroberts avatar stevejroberts commented on June 14, 2024

It should, sounds like we have a bug in there somewhere that I'll take a look at.

from aws-toolkit-azure-devops.

stevejroberts avatar stevejroberts commented on June 14, 2024

HWouters@, v1.0.13 is now released with a fix for this. Let me know if it works OK for you, then I'll close the issue.

from aws-toolkit-azure-devops.

HWouters avatar HWouters commented on June 14, 2024

@steveataws. That's the fix, it works now. Thank you!

from aws-toolkit-azure-devops.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.