-
Notifications
You must be signed in to change notification settings - Fork 107
/
Copy pathconfig.yml
175 lines (146 loc) · 3.98 KB
/
config.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
default:
stackName: change-me-cumulus
stackNameNoDash: ChangeMeCumulus
urs_url: https://uat.urs.earthdata.nasa.gov
oauth:
provider: earthdata
api_lambda_memory: 512
repo_owner: nasa
message_adapter_repo: cumulus-message-adapter
message_adapter_filename: cumulus-message-adapter.zip
nested_templates:
CumulusApiDefault:
cfFile: node_modules/@cumulus/deployment/app/cumulus_api.template.yml
configFile: node_modules/@cumulus/deployment/app/cumulus_api_default.config.yml
CumulusApiV1:
cfFile: node_modules/@cumulus/deployment/app/cumulus_api.template.yml
configFile: node_modules/@cumulus/deployment/app/cumulus_api_v1.config.yml
# if not specified the value of the apigatewy backend endpoint is used
# api_backend_url: https://apigateway-url-to-api-backend/
# if not specified the value of the apigateway dist url is used
# api_distribution_url: https://apigateway-url-to-distribution-app/
params:
- name: CmrPassword
value: '{{CMR_PASSWORD}}' # this has to be set in .env
shared_data_bucket: 'cumulus-data-shared'
system_bucket: '{{buckets.internal.name}}'
buckets:
internal:
name: change-me
type: internal
private:
name: change-me
type: private
protected:
name: change-me
type: protected
public:
name: change-me
type: public
cmr:
username: devseed
provider: CUMULUS
clientId: CUMULUS
password: '{{CMR_PASSWORD}}'
ems:
provider: CUMULUS
# this whole section has to be updated in each deployment section
vpc:
vpcId: xxxxxx #change-me
subnets:
- subnet-xxxxx #change me
default_users:
aimeeb: true
jennyhliu: true
jnorton1: true
kbaynes: true
kkelly: true
lfrederick: true
mhuffnagle2: true
pquinn1: true
scisco: true
sethvincent: true
menno.vandiermen: true
ecs:
restartTasksOnDeploy: false
amiid: ami-6944c513
instanceType: change-ecs-instanceType
volumeSize: 50
availabilityZone: 'us-east-1b'
maxInstances: 1
desiredInstances: 0
docker:
storageDriver: overlay2
es:
name: es5
elasticSearchMapping: 8
version: 5.3
instanceCount: 1
instanceType: t2.small.elasticsearch
volumeSize: 35
# defining the APIs. Each item will include a separate endpoint
apiStage: dev
dynamos: !!files ['node_modules/@cumulus/api/config/tables.yml']
# set to true to activate pointInTime on all tables
enablePointInTime: false
AutoScalingPolicyConfiguration:
targetValue: 30
scaleInCooldown: 0
scaleOutCooldown: 0
sns:
# this topic receives all the updates from
# step functions
sftracker:
subscriptions:
lambda:
endpoint:
function: Fn::GetAtt
array:
- sns2elasticsearchLambdaFunction
- Arn
protocol: lambda
# This topic receives errored kinesis messages and tries them again.
kinesisFallback:
subscriptions:
lambda:
endpoint:
function: Fn::GetAtt
array:
- fallbackConsumerLambdaFunction
- Arn
protocol: lambda
apis:
- name: download
- name: backend
sqs:
startSF:
visibilityTimeout: 20
retry: 30
consumer:
- lambda: sqs2sf
schedule: rate(1 minute)
messageLimit: 10
state: ENABLED
kinesisFailure:
visibilityTimeout: 20
rules:
backgroundJobs:
schedule: rate(10 minutes)
state: ENABLED
targets:
- lambda: jobs
dailyEmsIngestReport:
# run at 5:00am GMT daily
schedule: cron(0 5 * * ? *)
state: ENABLED
targets:
- lambda: EmsReport
dailyEmsDistributionReport:
schedule: cron(0 8 * * ? *)
state: ENABLED
targets:
- lambda: EmsDistributionReport
stepFunctions: !!files ['workflows.yml']
lambdas: !!files [
'lambdas.yml',
'node_modules/@cumulus/api/config/lambdas.yml']