Giter Site home page Giter Site logo

Comments (4)

HyperBrain avatar HyperBrain commented on July 23, 2024

Check if your Lambda versions are tagged with aliases and you have 2 stages in APIG (v1 + v2) after deploying the aliases.

You should be able to reach all aliased apis with https://{same_endpoint}.execute-api.eu-west-1.amazonaws.com/<alias_here>/.

You can find the different versions of your Lambdas in the AWS Lambda console, select a Lambda and the aliases (including the stage alias) should show up in the "Qualifier" dropdown.

from serverless-aws-alias-example.

xavicolomer avatar xavicolomer commented on July 23, 2024

Ok so far I found out:

  1. In my lambda console I only have one version of the lambdas, I would expect to have one version per alias, is that right?

  2. Reading your<alias_here> I understand that API Gateway should contain as many initial resources as aliases and then the master API hanging from there although it doesn't, but this is just a guess

/
  /v1
    /my
      /master
        /api
  /v2
    /my
      /master
        /api 
  1. In my .serverless folder I have 2 new files:

cloudformation-template-update-alias-stack.json
cloudformation-template-create-alias-stack.json

Both containing information only about the last alias deployed, in this case v2

Is that useful? How can I provide you with more info?

from serverless-aws-alias-example.

xavicolomer avatar xavicolomer commented on July 23, 2024

Ops sorry I posted this on the wrong project.

from serverless-aws-alias-example.

HyperBrain avatar HyperBrain commented on July 23, 2024

No problem :)

from serverless-aws-alias-example.

Related Issues (4)

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.