Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.gitignore
README.md
package.json
serverless.yml
yarn.lock

README.md

API Gateway Proxy

Goal:

  • Demonstrate how to setup API Gateway Proxy using Serverless

Stack:

  • Serverless
  • AWS API Gateway
  • S3

AWS Console Links:

Deploy

SLS_DEBUG=* sls deploy

For some reason the API gateway isn't deploying this...

Notes

Solution found in

Created

Created with:

serverless create --template hello-world --path aws-apigateway-proxy

Fix API Gateway name

As of 2019-02-22, the API Gateways are named $stage-$service.

That makes it difficult to see all the stages for a particular service.

This renames it:

resources:
  Resources:
    # https://github.com/serverless/serverless/issues/2445#issuecomment-333016523
    ApiGatewayRestApi:
      Type: AWS::ApiGateway::RestApi
      Properties:
        Name: ${self:service}-${self:provider.stage}
You can’t perform that action at this time.