Skip to content

Commit c5c92f0

Browse files
committed
restructure files/imports
1 parent ea51bf1 commit c5c92f0

File tree

7 files changed

+20
-19
lines changed

7 files changed

+20
-19
lines changed

app.py

-17
This file was deleted.

cdk.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"app": "python3 app.py",
2+
"app": "python3 infrastructure/app.py",
33
"watch": {
44
"include": [
55
"**"
@@ -29,4 +29,4 @@
2929
"aws-cn"
3030
]
3131
}
32-
}
32+
}
File renamed without changes.

infrastructure/app.py

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
from aws_cdk import App
2+
3+
from config import build_app_config
4+
from pgStacInfra import pgStacInfraStack
5+
from vpc import VpcStack
6+
7+
pgStacInfra = App()
8+
9+
app_config = build_app_config()
10+
11+
vpc_stack = VpcStack(scope=pgStacInfra, app_config=app_config)
12+
13+
pgstac_infra_stack = pgStacInfraStack(
14+
scope=pgStacInfra,
15+
vpc=vpc_stack.vpc,
16+
app_config=app_config,
17+
)
18+
pgStacInfra.synth()
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)