Skip to content

Commit

Permalink
fix: update form-builder section
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Dec 4, 2019
1 parent c711ac5 commit d136a22
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions packages/cli/create/template/api/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,23 @@ pageBuilder:
- "@webiny/api-mailchimp"
- "@webiny/api-cookie-policy"

forms:
component: "@webiny/serverless-forms"
formBuilder:
component: "@webiny/serverless-form-builder"
inputs:
name: "Forms"
name: "Form Builder"
region: ${vars.region}
files: ${files}
i18n: ${i18n}
memory: 512
timeout: 30
database: ${vars.database}
env: ${vars.env}
plugins:
- factory: "@webiny/api-plugin-create-apollo-handler"
options: ${vars.apollo}
- factory: "@webiny/api-plugin-commodo-mongodb"
options: ${vars.commodo}
- factory: "@webiny/api-security/plugins/service"
options: ${vars.security}
- "@webiny/api-plugin-form-builder-resolvers-mongodb"

api:
component: "@webiny/serverless-api-gateway"
Expand Down

0 comments on commit d136a22

Please sign in to comment.