Skip to content

Instantly share code, notes, and snippets.

@haskins-io
Last active March 3, 2017 19:55
Show Gist options
  • Save haskins-io/5044a7aee351400ff8f9fd596cd9262b to your computer and use it in GitHub Desktop.
Save haskins-io/5044a7aee351400ff8f9fd596cd9262b to your computer and use it in GitHub Desktop.
SAM template for deploying Lambda function
AWSTemplateFormatVersion : '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: A hello world application.
Resources:
HelloWorldFunction:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs4.3
CodeUri: 's3://bucketname/Archive.zip'
Environment:
Variables:
VariableName: VariableValue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment