forked from harness-community/harnesscd-example-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserverless.yml
More file actions
27 lines (22 loc) · 776 Bytes
/
Copy pathserverless.yml
File metadata and controls
27 lines (22 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
tenant: ac360 # Enter your tenant name here
app: enterprise # Enter your application name here
service: demo-email-form
frameworkVersion: '>=1.38.0 <2.0.0'
provider:
name: aws
runtime: nodejs10.x
# credentials: ${secrets:aws-enterprise} # Enter an AWS Secret like this, after you create it in the Dashboard.
functions:
formSubmit:
handler: index.submit
events:
- http:
path: submit
method: post
cors: true
plugins:
# - serverless-finch # If you want to deploy the front-end uncomment this and the "custom" object below
# custom:
# client:
# bucketName: sfe-demo-email-form # If you want to deploy the front-end, change this to a universally unique AWS S3 bucket name
# distributionFolder: ../frontend/build