/
serverless.yml
42 lines (38 loc) · 1.09 KB
/
serverless.yml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
service: dev-human-website
custom:
staging:
local_path: build/staging
certificate: arn:aws:acm:us-east-1:033201381223:certificate/2cc611c2-8bbb-43f3-8409-8bb57aabbb96
redirectToMainDomain: false
domain:
- staging.dev-human.io
production:
local_path: build/production
certificate: arn:aws:acm:us-east-1:033201381223:certificate/43981011-8ba0-4290-8f88-3811a12ee1ea
redirectToMainDomain: true
domain:
- dev-human.io
- www.dev-human.io
- devhuman.io
- www.devhuman.io
provider:
name: aws
region: eu-central-1
runtime: provided.al2
deploymentMethod: direct
stage: staging
tags:
project-name: dev-human-website
repository: https://github.com/dev-human/dev-human
stackTags:
customer: dev-human
plugins:
- serverless-lift
constructs:
website:
type: static-website
errorPage: 404.html
path: ${self:custom.${sls:stage}.local_path}
certificate: ${self:custom.${sls:stage}.certificate}
domain: ${self:custom.${sls:stage}.domain}
redirectToMainDomain: ${self:custom.${sls:stage}.redirectToMainDomain}