-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add template that uses the Serverless framework for deployment #20
Comments
Hi @jankoenig i'm interested to pick up this issue |
Cool! Let me know if you need more info. service: jovo-project-name # Update
custom:
defaultStage: dev
currentStage: ${opt:stage, self:custom.defaultStage}
provider:
name: aws
runtime: nodejs8.10
stage: ${self:custom.currentStage}
# iamRoleStatements:
# - Effect: "Allow"
# Action:
# - dynamodb: GetItem
# - dynamodb: PutItem
# - dynamodb: CreateTable
# Resource: "arn:aws:dynamodb:*:*:table/*"
# Define service wide environment variables here
# environment:
# STAGE: ${self:custom.currentStage}
package:
include:
- index.js
- app/**
exclude:
- platforms/**
- models/**
functions:
app:
handler: index.handler
events:
# - alexaSkill: ${file(./app.json):stages.${self:custom.currentStage}.alexaSkill.skillId}
# API Gateway
# - http:
# method: post
# Define function environment variables here
environment:
STAGE: ${self:custom.currentStage} |
Thanks @jankoenig i was looking at how to setup the example projects in my free time within the past few days. It seems like the setup is not as straightforward as i thought, i might need some time to get some template files working with my own AWS account (need to get some free time to do so). If anyone with experience with this framework would like to go ahead and implement this ahead of me then i would encourage them to do so instead |
This is a really interesting proposal. Has any progress been made on this? I'd definitely be happy to contribute. |
No one has contributed yet, but I know that a few people are using Serverless for Jovo projects. e.g. @dominik-meissner |
Including creating the right permissions, lambda, and DynamoDB for e.g. AWS
https://serverless.com/
The text was updated successfully, but these errors were encountered: