mirror of
https://github.com/Sea-Haven-Industries/procurement-ingest.git
synced 2026-10-01 07:43:13 +00:00
Move PO lambdas under lambdas/po/, add WO pipeline under lambdas/wo/. Two independent CloudFormation stacks in one CDK app. Fix WO stack compliance: ARM64 architecture, 60-day log retention, aarch64 bundling, RETAIN on Anthropic secret. Remove stale CodePipeline buildspec.
22 lines
411 B
Python
22 lines
411 B
Python
#!/usr/bin/env python3
|
|
import aws_cdk as cdk
|
|
from po_stack import PoIngestStack
|
|
from wo_stack import WorkorderIngestStack
|
|
|
|
app = cdk.App()
|
|
|
|
PoIngestStack(
|
|
app,
|
|
"po-ingest",
|
|
stack_name="po-ingest",
|
|
env=cdk.Environment(region="us-east-1"),
|
|
)
|
|
|
|
WorkorderIngestStack(
|
|
app,
|
|
"workorder-ingest",
|
|
stack_name="WorkorderIngestStack",
|
|
env=cdk.Environment(region="us-east-1"),
|
|
)
|
|
|
|
app.synth()
|