Created
April 1, 2019 02:46
-
-
Save gnzandrs/fca554bcf66e256144e2947967663675 to your computer and use it in GitHub Desktop.
serverless basic configuration file example for medium
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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