mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
The instructions for shared APIs would always give me errors such as : ``` The CloudFormation template is invalid: Template error: instance of Fn::GetAtt references undefined resource ApiGatewayRestApi ``` After much googling I found https://forum.serverless.com/t/micro-services-with-shared-api-gateway/6486/2 and the solution proposed (deploying the API and exports as their own service) totally worked for me. I thought to update the instructions so more people don't waste hours. Alternatively, if there's a way of making it work the way mentioned, please advise!
Read this on the main serverless docs site
Documentation
The Serverless Framework is a CLI tool that allows users to build & deploy auto-scaling, pay-per-execution, event-driven functions.
Write your code, configure events to trigger your functions, then deploy & run those functions to your cloud provider via the Serverless CLI.
Getting started with serverless? Start here.
Already using AWS or another cloud provider? Read on.