Skip to content

Instantly share code, notes, and snippets.

@gnzandrs
Created April 1, 2019 02:46
Show Gist options
  • Save gnzandrs/fca554bcf66e256144e2947967663675 to your computer and use it in GitHub Desktop.
Save gnzandrs/fca554bcf66e256144e2947967663675 to your computer and use it in GitHub Desktop.
serverless basic configuration file example for medium
service: hola-mundo
plugins:
- serverless-offline
provider:
name: aws
runtime: nodejs6.10
stage: dev
region: us-west-2
stackTags:
Responsable: "@gnzandrs"
Version: "Alpha"
Criticidad: "Baja"
iamRoleStatements:
- Effect: Allow
Action:
- dynamodb:Query
- dynamodb:Scan
- dynamodb:GetItem
Resource: "arn:aws:dynamodb:${self:provider.region}:*:*"
environment:
region: ${self:provider.region}
functions:
app:
handler: handler.run
description: imprime un texto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment