-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.py
46 lines (38 loc) · 1.01 KB
/
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
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/env python3
import os
import aws_cdk as cdk
from getpublicip.getpublicip_stack import GetpublicipStack
app = cdk.App()
GetpublicipStack(
app, 'GetpublicipStack-us-east-1',
env = cdk.Environment(
account = os.getenv('CDK_DEFAULT_ACCOUNT'),
region = 'us-east-1'
),
synthesizer = cdk.DefaultStackSynthesizer(
qualifier = '4n6ir'
)
)
GetpublicipStack(
app, 'GetpublicipStack-us-east-2',
env = cdk.Environment(
account = os.getenv('CDK_DEFAULT_ACCOUNT'),
region = 'us-east-2'
),
synthesizer = cdk.DefaultStackSynthesizer(
qualifier = '4n6ir'
)
)
GetpublicipStack(
app, 'GetpublicipStack-us-west-2',
env = cdk.Environment(
account = os.getenv('CDK_DEFAULT_ACCOUNT'),
region = 'us-west-2'
),
synthesizer = cdk.DefaultStackSynthesizer(
qualifier = '4n6ir'
)
)
cdk.Tags.of(app).add('Alias','Extensions')
cdk.Tags.of(app).add('GitHub','https://github.com/4n6ir/getpublicip.git')
app.synth()