-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.py
36 lines (31 loc) · 931 Bytes
/
app.py
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
#!/usr/bin/env python3
import os
import aws_cdk as cdk
from geoservices.geodata_stack import GeodataStack
from geoservices.titiler_service_stack import TitilerServiceStack
app = cdk.App()
GeodataStack(
app,
"geodata-staging",
stage="staging",
env=cdk.Environment(account=os.getenv('cdk_default_account'), region=os.getenv('cdk_default_region'))
)
GeodataStack(
app,
"geodata-production",
stage="production",
env=cdk.Environment(account=os.getenv('cdk_default_account'), region=os.getenv('cdk_default_region'))
)
TitilerServiceStack(
app,
"titiler-staging",
stage="staging",
env=cdk.Environment(account=os.getenv('cdk_default_account'), region=os.getenv('cdk_default_region'))
)
TitilerServiceStack(
app,
"titiler-production",
stage="production",
env=cdk.Environment(account=os.getenv('cdk_default_account'), region=os.getenv('cdk_default_region'))
)
app.synth()