Ciaran Downey 7ba4caad0d Improves usage and documentation of SNS event sources.
When using cloudformation intrinsic functions, it is easy to assume that sns:topicName is a property that should resolve to the actual value in AWS. In reality it is only used to name the underlying cloudformation resources generated by serverless, and thus needs to be a string.
This improves the error message and code path returned when sns:topicName is not a string, as well as does some validation around usage of Fn::ImportValue. Also adds some tests and documentation demonstrating that intrinsic functions work with SNS event sources.
2018-11-04 09:34:00 -05:00
..
2018-05-02 20:40:34 -07:00
2018-10-30 21:40:39 -04:00
2018-08-23 16:34:18 +12:00
2018-10-25 20:21:44 -07:00

Read this on the main serverless docs site

Serverless Infrastructure Providers

Under the hood, the serverless framework is deploying your code to a cloud provider like AWS, Microsoft Azure, Apache OpenWhisk or Google Cloud functions.



Connecting your provider

To deploy functions, specify your provider in your service's serverless.yml file under the provider key and make sure your provider credentials are setup on your machine or CI/CD system.

# serverless.yml
service: my-service-name

provider:
  name: aws