-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaster.yaml
529 lines (499 loc) · 19.7 KB
/
master.yaml
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
---
Description: >
Parameters:
VpcCIDR:
Description: Please enter the IP range (CIDR notation) for this VPC
Type: String
CentralVPNSecurityGroup:
Type: String
Default: sg-0a3dc649e97adf790
PrivateSubnet:
Description: Please enter a comma separated list of IP ranges (CIDR notation) for the private subnet
Type: CommaDelimitedList
PublicSubnet:
Description: Please enter a comma separated list of IP ranges (CIDR notation) for the public subnet
Type: CommaDelimitedList
HostedZoneId:
Description: The HOSTED_ZONE_ID in AWS for solvestack.com (may change to another hosted zone in future)
Type: String
Default: Z07515425R88X5ZJDD64
PrivateHostedZoneId:
Type: String
Description: The private hosted zone ID. Default is internal.solvestack.com
Default: Z3UG1K4CTXT0KD
AspNetCoreEnvironment:
Description: Used for DOTNET projects. Either Production or Development
Type: String
AllowedValues:
- Production
- Development
DatabaseUsername:
Description: The endpoint for the postgres database created for this deployment
Type: String
DatabasePassword:
Description: The endpoint for the postgres database created for this deployment
Type: String
DbParameterGroup:
Description: parameters for postgres
Type: String
Default: default.postgres10
ContainerImageTag:
Description: The tag to use for all container images.
Type: String
Default: master
SnapshotIdentifier:
Description: identifier of snapshot to create db from
Type: String
ClientSecret:
Description: Client secret for oauth
Type: String
DjangoSecretKey:
Description: DjangoSecret Key
Type: String
LastForce:
Description: last time services were forced to update
Type: String
RedisHostType:
Description: size of Redis nodes.
Type: String
Default: cache.t3.small
RedisVersion:
Description: pin the version of redis
Type: String
Default: 5.0.0
AwsAccessKey:
Type: String
AwsSecretKey:
Type: String
IsDebug:
Type: String
Default: true
SwaggerEnabled:
Type: String
Default: false
SolvestackOrgId:
Type: String
Default: CHANGEME
S3MediaBucketName:
Type: String
PrimaryURL:
Type: String
Cert:
Description: Certificate ARN to use, default is solvestack.com
Type: String
Default: "arn:aws:acm:us-west-2:461537903867:certificate/c9a515ad-f143-49ff-a37d-dbea79b04b0b"
CentralLoggingURL:
Type: String
Default: None
ClusterSize:
Type: String
Default: 3
APIDesiredCount:
Type: String
APIMaxCount:
Type: String
WorkerDesiredCount:
Type: String
WorkerMaxCount:
Type: String
SubString:
Type: String
ElasticSearchClusterUrl:
Type: String
Default: None
ElasticSearchClusterCA:
Type: String
Default: None
SlackToken:
Type: String
Default: None
SlackChannel:
Type: String
DataInsightsEmail:
Type: String
Default: system.accruent.data-insights@solvestack.com
DataInsightsPassword:
Type: String
Default: None
DataInsightsUrl:
Type: String
Default: https://di-api.accruent.com
DataInsightsUIUrl:
Type: String
Default: https://di.accruent.com
DataInsightsIsEnabled:
Type: String
Default: True
ReportWorkersCount:
Type: String
Default: 1
MigrationWorkerCount:
Type: String
Default: 0
ReportingBackend:
Type: String
Default: solvestack
Conditions:
IsProduction: !Equals [!Ref "AWS::StackName", prod]
ElasticSearchClusterUnset: !Equals [!Ref ElasticSearchClusterUrl, None]
UseElasticSearchCluster: !Not [Condition: ElasticSearchClusterUnset]
DisableMigrationWorkers: !Equals [!Ref MigrationWorkerCount, 0]
EnableMigrationWorkers: !Not [Condition: DisableMigrationWorkers]
Resources:
VPC:
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: ./infrastructure/vpc.yaml
Parameters:
EnvironmentName: !Ref AWS::StackName
VpcCIDR: !Ref VpcCIDR
PublicSubnet1CIDR: !Select [0, !Ref PublicSubnet]
PublicSubnet2CIDR: !Select [1, !Ref PublicSubnet]
PublicSubnet3CIDR: !Select [2, !Ref PublicSubnet]
PrivateSubnet1CIDR: !Select [0, !Ref PrivateSubnet]
PrivateSubnet2CIDR: !Select [1, !Ref PrivateSubnet]
PrivateSubnet3CIDR: !Select [2, !Ref PrivateSubnet]
SecurityGroups:
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: ./infrastructure/security-groups.yaml
Parameters:
EnvironmentName: !Ref AWS::StackName
VPC: !GetAtt VPC.Outputs.VPC
CentralVPNSecurityGroup: !Ref CentralVPNSecurityGroup
VpcCIDR: !Ref VpcCIDR
ALB:
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: ./infrastructure/alb.yaml
Parameters:
EnvironmentName: !Ref AWS::StackName
Cert: !Ref Cert
VPC: !GetAtt VPC.Outputs.VPC
Subnets: !GetAtt VPC.Outputs.PublicSubnets
SecurityGroup: !GetAtt SecurityGroups.Outputs.LoadBalancerSecurityGroup
PrivateSecurityGroup: !GetAtt SecurityGroups.Outputs.PrivateLoadBalancerSecurityGroup
# ENVS3BUCKET:
# Type: AWS::CloudFormation::Stack
# Properties:
# TemplateURL: ./infrastructure/s3.yaml
# Parameters:
# EnvironmentName: !Ref AWS::StackName
POSTGRESQL:
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: ./infrastructure/postgresql.yaml
Parameters:
EnvironmentName: !Ref AWS::StackName
DatabaseUsername: !Ref DatabaseUsername
DatabasePassword: !Ref DatabasePassword
DbParameterGroup: !Ref DbParameterGroup
Subnets: !GetAtt VPC.Outputs.PublicSubnets
SecurityGroup: !GetAtt SecurityGroups.Outputs.RDSSecurityGroup
SnapshotIdentifier: !Ref SnapshotIdentifier
HostedZoneId: Z3UG1K4CTXT0KD
# ELASTICSEARCH:
# Type: AWS::CloudFormation::Stack
# Condition: ElasticSearchClusterUnset
# Properties:
# TemplateURL: ./infrastructure/elasticsearch.yaml
# Parameters:
# DomainName: !Sub ${AWS::StackName}-es
# ElasticsearchVersion: "6.0"
# InstanceType: "t2.medium.elasticsearch"
# Subnet: !GetAtt VPC.Outputs.PublicSubnet1
# EsSecurityGroup: !GetAtt SecurityGroups.Outputs.ESSecurityGroup
# EnvironmentName: !Ref AWS::StackName
# REDISINSTANCE:
# Type: AWS::CloudFormation::Stack
# Properties:
# TemplateURL: ./infrastructure/redis.yaml
# Parameters:
# EnvironmentName: !Ref AWS::StackName
# ClusterNodeType: !Ref RedisHostType
# SecurityGroup: !GetAtt SecurityGroups.Outputs.RedisSecurityGroup
# Subnets: !GetAtt VPC.Outputs.PrivateSubnets
# HostedZoneId: Z3UG1K4CTXT0KD
# RedisVersion: !Ref RedisVersion
# ECS:
# Type: AWS::CloudFormation::Stack
# Properties:
# TemplateURL: ./infrastructure/ecs.yaml
# Parameters:
# EnvironmentName: !Ref AWS::StackName
# InstanceType: t3.medium
# ClusterSize: !Ref ClusterSize
# VPC: !GetAtt VPC.Outputs.VPC
# SecurityGroup: !GetAtt SecurityGroups.Outputs.ECSHostSecurityGroup
# CoreSecurityGroup: !GetAtt SecurityGroups.Outputs.CoreSecurityGroup
# Subnets: !GetAtt VPC.Outputs.PrivateSubnets
# LifecycleHook:
# Type: AWS::CloudFormation::Stack
# Properties:
# TemplateURL: ./infrastructure/lifecyclehook.yaml
# Parameters:
# Cluster: !GetAtt ECS.Outputs.Cluster
# ECSAutoScalingGroupName: !GetAtt ECS.Outputs.ECSAutoScalingGroupName
# myDNS:
# Type: AWS::Route53::RecordSetGroup
# Properties:
# HostedZoneId: !Ref HostedZoneId
# Comment: Zone apex alias targeted to ALB LoadBalancer.
# RecordSets:
# - Name: !If [IsProduction, "*.prod.solvestack.com", !Sub "*.${AWS::StackName}.solvestack.com"]
# Type: A
# AliasTarget:
# HostedZoneId: !GetAtt ALB.Outputs.HostedZoneID
# DNSName: !GetAtt ALB.Outputs.LoadBalancerUrl
# ElasticCluster:
# Type: AWS::CloudFormation::Stack
# Properties:
# TemplateURL: ./infrastructure/elastic-cluster.yaml
# Parameters:
# VPC: !GetAtt VPC.Outputs.VPC
# Subnet1: !GetAtt VPC.Outputs.PrivateSubnet1
# Subnet2: !GetAtt VPC.Outputs.PrivateSubnet2
# Subnet3: !GetAtt VPC.Outputs.PrivateSubnet3
# EnvironmentName: !Ref "AWS::StackName"
# InstanceType: t3.large
# ClusterSize: "3"
# KeyName: admin-primary
# ESSecurityGroup: !GetAtt SecurityGroups.Outputs.ESSecurityGroup
# CoreSecurityGroup: !GetAtt SecurityGroups.Outputs.CoreSecurityGroup
# HostedZoneId: Z3UG1K4CTXT0KD
# Util:
# Type: AWS::CloudFormation::Stack
# Properties:
# TemplateURL: ./infrastructure/util.yaml
# Parameters:
# Subnet1: !GetAtt VPC.Outputs.PrivateSubnet1
# EnvironmentName: !Ref "AWS::StackName"
# InstanceType: t3a.micro
# KeyName: admin-primary
# CoreSecurityGroup: !GetAtt SecurityGroups.Outputs.CoreSecurityGroup
# UtilSecurityGroup: !GetAtt SecurityGroups.Outputs.UtilSecurityGroup
# HostedZoneId: Z3UG1K4CTXT0KD
# Bastion:
# Type: AWS::CloudFormation::Stack
# Properties:
# TemplateURL: ./infrastructure/bastion.yaml
# Parameters:
# EnvironmentName: !Ref "AWS::StackName"
# InstanceAMI: ami-a0cfeed8
# InstanceType: t2.micro
# KeyName: admin-primary
# SecurityGroup: !GetAtt SecurityGroups.Outputs.ECSHostSecurityGroup
# PublicSubnet: !GetAtt VPC.Outputs.PublicSubnet1
# SvcSolvestackApi:
# Type: AWS::CloudFormation::Stack
# Properties:
# TemplateURL: ./services/svc-solvestack-api/service.yaml
# Parameters:
# ServiceName: !Sub svc-solvestack-api-${AWS::StackName}
# EnvironmentName: !Ref AWS::StackName
# VPC: !GetAtt VPC.Outputs.VPC
# Cluster: !GetAtt ECS.Outputs.Cluster
# DesiredCount: !Ref APIDesiredCount
# Priority: 5
# MaxCount: !Ref APIMaxCount
# LoginURL: !Ref PrimaryURL
# Path: 'svc-solvestack-api.*'
# Listener: !GetAtt ALB.Outputs.Listener
# HttpsListener: !GetAtt ALB.Outputs.HttpsListener
# ECSServiceAutoScalingRoleARN: !GetAtt ECS.Outputs.ECSServiceAutoScalingRole
# SolvestackOrgId: !Ref SolvestackOrgId
# AwsAccessKeyId: !Ref AwsAccessKey
# AwSecretAccessKey: !Ref AwsSecretKey
# ContainerImageTag: !Ref ContainerImageTag
# StorageBucketName: !Sub svc-solvestack-media-${AWS::StackName}
# RedisEndpoint: !GetAtt REDISINSTANCE.Outputs.RedisAddress
# IsDebug: !Ref IsDebug
# SwaggerEnabled: !Ref SwaggerEnabled
# DbUsername: !Ref DatabaseUsername
# DbPassword: !Ref DatabasePassword
# DbEndpoint: !GetAtt POSTGRESQL.Outputs.DbHost
# DjangoEmailBackend: "django_ses.SESBackend"
# DjangoSecretKey: !Ref DjangoSecretKey
# EsUrl: !If [UseElasticSearchCluster, !Ref ElasticSearchClusterUrl, !Sub "https://${ELASTICSEARCH.Outputs.DomainEndpoint}"]
# EsCA: !Ref ElasticSearchClusterCA
# LogLevel: "INFO"
# OauthClientId: svcsolvestack
# OauthClientSecret: !Ref ClientSecret
# CentralLoggingURL: !Ref CentralLoggingURL
# SlackToken: !Ref SlackToken
# SlackChannel: !Ref SlackChannel
# DataInsightsEmail: !Ref DataInsightsEmail
# DataInsightsPassword: !Ref DataInsightsPassword
# DataInsightsUrl: !Ref DataInsightsUrl
# DataInsightsUIUrl: !Ref DataInsightsUIUrl
# DataInsightsIsEnabled: !Ref DataInsightsIsEnabled
# ReportingBackend: !Ref ReportingBackend
# SvcWkhtmltoxApi:
# Type: AWS::CloudFormation::Stack
# Properties:
# TemplateURL: ./services/svc-wkhtmltox-api/service.yaml
# Parameters:
# ServiceName: !Sub svc-wkhtmltox-api-${AWS::StackName}
# EnvironmentName: !Ref AWS::StackName
# VPC: !GetAtt VPC.Outputs.VPC
# Cluster: !GetAtt ECS.Outputs.Cluster
# DesiredCount: !If [IsProduction, 2, 1]
# MaxCount: 3
# PrivateLoadBalancerUrl: !GetAtt ALB.Outputs.PrivateLoadBalancerUrl
# PrivateHttpListener: !GetAtt ALB.Outputs.PrivateHttpListener
# PrivateHostedZoneId: !Ref PrivateHostedZoneId
# PrivateALBHostedZoneId: !GetAtt ALB.Outputs.PrivateHostedZoneID
# ECSServiceAutoScalingRoleARN: !GetAtt ECS.Outputs.ECSServiceAutoScalingRole
# SlackToken: !Ref SlackToken
# SlackChannel: !Ref SlackChannel
# SvcSolvestackApiWorker:
# Type: AWS::CloudFormation::Stack
# Properties:
# TemplateURL: ./services/svc-solvestack-api-worker/service.yaml
# Parameters:
# ServiceName: !Sub svc-solvestack-api-worker-${AWS::StackName}
# EnvironmentName: !Ref AWS::StackName
# VPC: !GetAtt VPC.Outputs.VPC
# Cluster: !GetAtt ECS.Outputs.Cluster
# DesiredCount: !Ref WorkerDesiredCount
# MaxCount: !Ref WorkerMaxCount
# ContainerImageTag: !Ref ContainerImageTag
# LoginURL: !Ref PrimaryURL
# ECSServiceAutoScalingRoleARN: !GetAtt ECS.Outputs.ECSServiceAutoScalingRole
# SolvestackOrgId: !Ref SolvestackOrgId
# AwsAccessKeyId: !Ref AwsAccessKey
# AwSecretAccessKey: !Ref AwsSecretKey
# StorageBucketName: !Sub svc-solvestack-media-${AWS::StackName}
# RedisEndpoint: !GetAtt REDISINSTANCE.Outputs.RedisAddress
# IsDebug: !Ref IsDebug
# SwaggerEnabled: !Ref SwaggerEnabled
# DbUsername: !Ref DatabaseUsername
# DbPassword: !Ref DatabasePassword
# DbEndpoint: !GetAtt POSTGRESQL.Outputs.DbHost
# DjangoEmailBackend: "django_ses.SESBackend"
# DjangoSecretKey: !Ref DjangoSecretKey
# EsUrl: !If [UseElasticSearchCluster, !Ref ElasticSearchClusterUrl, !Sub "https://${ELASTICSEARCH.Outputs.DomainEndpoint}"]
# EsCA: !Ref ElasticSearchClusterCA
# LogLevel: "INFO"
# OauthClientId: svcsolvestack
# OauthClientSecret: !Ref ClientSecret
# CentralLoggingURL: !Ref CentralLoggingURL
# SlackToken: !Ref SlackToken
# SlackChannel: !Ref SlackChannel
# DataInsightsEmail: !Ref DataInsightsEmail
# DataInsightsPassword: !Ref DataInsightsPassword
# DataInsightsUrl: !Ref DataInsightsUrl
# DataInsightsIsEnabled: !Ref DataInsightsIsEnabled
# ReportingBackend: !Ref ReportingBackend
# SvcSolvestackApiScheduler:
# Type: AWS::CloudFormation::Stack
# Properties:
# TemplateURL: ./services/svc-solvestack-api-scheduler/service.yaml
# Parameters:
# ServiceName: !Sub svc-solvestack-scheduler-${AWS::StackName}
# EnvironmentName: !Ref AWS::StackName
# VPC: !GetAtt VPC.Outputs.VPC
# Cluster: !GetAtt ECS.Outputs.Cluster
# DesiredCount: 1
# MaxCount: 1
# ContainerImageTag: !Ref ContainerImageTag
# LoginURL: !Ref PrimaryURL
# ECSServiceAutoScalingRoleARN: !GetAtt ECS.Outputs.ECSServiceAutoScalingRole
# SolvestackOrgId: !Ref SolvestackOrgId
# AwsAccessKeyId: !Ref AwsAccessKey
# AwSecretAccessKey: !Ref AwsSecretKey
# StorageBucketName: !Sub svc-solvestack-media-${AWS::StackName}
# RedisEndpoint: !GetAtt REDISINSTANCE.Outputs.RedisAddress
# IsDebug: !Ref IsDebug
# SwaggerEnabled: !Ref SwaggerEnabled
# DbUsername: !Ref DatabaseUsername
# DbPassword: !Ref DatabasePassword
# DbEndpoint: !GetAtt POSTGRESQL.Outputs.DbHost
# DjangoEmailBackend: "django_ses.SESBackend"
# DjangoSecretKey: !Ref DjangoSecretKey
# EsUrl: !If [UseElasticSearchCluster, !Ref ElasticSearchClusterUrl, !Sub "https://${ELASTICSEARCH.Outputs.DomainEndpoint}"]
# EsCA: !Ref ElasticSearchClusterCA
# LogLevel: "INFO"
# OauthClientId: svcsolvestack
# OauthClientSecret: !Ref ClientSecret
# CentralLoggingURL: !Ref CentralLoggingURL
# SlackToken: !Ref SlackToken
# SlackChannel: !Ref SlackChannel
# DataInsightsEmail: !Ref DataInsightsEmail
# DataInsightsPassword: !Ref DataInsightsPassword
# DataInsightsUrl: !Ref DataInsightsUrl
# DataInsightsIsEnabled: !Ref DataInsightsIsEnabled
# ReportingBackend: !Ref ReportingBackend
# # SensuGoSolvestack:
# # Type: AWS::CloudFormation::Stack
# # Properties:
# # TemplateURL: ./services/sensu-solvestack/service.yaml
# # Parameters:
# # ServiceName: !Sub sensu-go-${AWS::StackName}
# # EnvironmentName: !Ref AWS::StackName
# # Cluster: !GetAtt ECS.Outputs.Cluster
# # DesiredCount: !Ref ClusterSize
# # MaxCount: !Ref ClusterSize
# # ECSServiceAutoScalingRoleARN: !GetAtt ECS.Outputs.ECSServiceAutoScalingRole
# # SubString: !Ref SubString
# SvcSolvestackApiMigration:
# Type: AWS::CloudFormation::Stack
# Condition: EnableMigrationWorkers
# Properties:
# TemplateURL: ./services/svc-solvestack-api-migration-worker/service.yaml
# Parameters:
# ServiceName: !Sub svc-solvestack-api-migration-worker-${AWS::StackName}
# EnvironmentName: !Ref AWS::StackName
# VPC: !GetAtt VPC.Outputs.VPC
# Cluster: !GetAtt ECS.Outputs.Cluster
# DesiredCount: !Ref MigrationWorkerCount
# MaxCount: !Ref MigrationWorkerCount
# ContainerImageTag: !Ref ContainerImageTag
# LoginURL: !Ref PrimaryURL
# ECSServiceAutoScalingRoleARN: !GetAtt ECS.Outputs.ECSServiceAutoScalingRole
# SolvestackOrgId: !Ref SolvestackOrgId
# AwsAccessKeyId: !Ref AwsAccessKey
# AwSecretAccessKey: !Ref AwsSecretKey
# StorageBucketName: !Sub svc-solvestack-media-${AWS::StackName}
# RedisEndpoint: !GetAtt REDISINSTANCE.Outputs.RedisAddress
# IsDebug: !Ref IsDebug
# SwaggerEnabled: !Ref SwaggerEnabled
# DbUsername: !Ref DatabaseUsername
# DbPassword: !Ref DatabasePassword
# DbEndpoint: !GetAtt POSTGRESQL.Outputs.DbHost
# DjangoEmailBackend: "django_ses.SESBackend"
# DjangoSecretKey: !Ref DjangoSecretKey
# EsUrl: !If [UseElasticSearchCluster, !Ref ElasticSearchClusterUrl, !Sub "https://${ELASTICSEARCH.Outputs.DomainEndpoint}"]
# EsCA: !Ref ElasticSearchClusterCA
# LogLevel: "INFO"
# OauthClientId: svcsolvestack
# OauthClientSecret: !Ref ClientSecret
# CentralLoggingURL: !Ref CentralLoggingURL
# SlackToken: !Ref SlackToken
# SlackChannel: !Ref SlackChannel
# ChannelsConsumer: catalog-migrations project-migrations
# DataInsightsEmail: !Ref DataInsightsEmail
# DataInsightsPassword: !Ref DataInsightsPassword
# DataInsightsUrl: !Ref DataInsightsUrl
# DataInsightsIsEnabled: !Ref DataInsightsIsEnabled
# ReportingBackend: !Ref ReportingBackend
# SolvestackVue:
# Type: AWS::CloudFormation::Stack
# Properties:
# TemplateURL: ./services/solvestack-vue/service.yaml
# Parameters:
# ServiceName: !Sub solvestack-vue-${AWS::StackName}
# EnvironmentName: !Ref AWS::StackName
# VPC: !GetAtt VPC.Outputs.VPC
# Cluster: !GetAtt ECS.Outputs.Cluster
# DesiredCount: !If [IsProduction, 3, 2]
# Priority: 8
# MaxCount: 4
# Path: !If [IsProduction, "www.*", !Sub "${AWS::StackName}.*"]
# Listener: !GetAtt ALB.Outputs.Listener
# AdminHttpsListener: !GetAtt ALB.Outputs.HttpsListener
# ECSServiceAutoScalingRoleARN: !GetAtt ECS.Outputs.ECSServiceAutoScalingRole
# ContainerImageTag: !Ref AWS::StackName
# ServiceRole: !GetAtt SvcSolvestackApi.Outputs.ServiceRole
# ForceUpgrade: !Ref LastForce
# CentralLoggingURL: !Ref CentralLoggingURL