2026-09-08 12:01:28 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
import os
|
|
|
|
|
|
|
|
|
|
import aws_cdk as cdk
|
|
|
|
|
|
|
|
|
|
from tradhoxdomain.tradhoxdomain_stack import TradhoxdomainStack
|
2026-09-08 14:23:50 +00:00
|
|
|
from partner.partner_stack import PartnerStack
|
2026-09-08 12:01:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
app = cdk.App()
|
2026-09-08 14:23:50 +00:00
|
|
|
|
|
|
|
|
# Existing domain stack
|
2026-09-08 12:01:28 +00:00
|
|
|
TradhoxdomainStack(app, "TradhoxdomainStack",
|
|
|
|
|
# If you don't specify 'env', this stack will be environment-agnostic.
|
|
|
|
|
# Account/Region-dependent features and context lookups will not work,
|
|
|
|
|
# but a single synthesized template can be deployed anywhere.
|
|
|
|
|
|
|
|
|
|
# Uncomment the next line to specialize this stack for the AWS Account
|
|
|
|
|
# and Region that are implied by the current CLI configuration.
|
|
|
|
|
|
|
|
|
|
#env=cdk.Environment(account=os.getenv('CDK_DEFAULT_ACCOUNT'), region=os.getenv('CDK_DEFAULT_REGION')),
|
|
|
|
|
|
|
|
|
|
# Uncomment the next line if you know exactly what Account and Region you
|
|
|
|
|
# want to deploy the stack to. */
|
|
|
|
|
|
|
|
|
|
#env=cdk.Environment(account='123456789012', region='us-east-1'),
|
|
|
|
|
|
|
|
|
|
# For more information, see https://docs.aws.amazon.com/cdk/latest/guide/environments.html
|
|
|
|
|
)
|
|
|
|
|
|
2026-09-08 14:23:50 +00:00
|
|
|
# Partner stack in ap-south-2
|
|
|
|
|
PartnerStack(app, "PartnerStack", env=cdk.Environment(region="ap-south-2"))
|
|
|
|
|
|
2026-09-08 12:01:28 +00:00
|
|
|
app.synth()
|