Closed binchoo closed 1 year ago
paimon.studio
. Its name was considered for future business.paimonganyu-test:pgtest
jbinchoo-aws:pgprod
paimonganyu-test
created a Route 53 Hosted Zone - test.paimon.studio
. It manages DNS records for instances in the test environment.(*.)test.paimon.studio
domain names, jbinchoo-aws
created an NS
record within its paimon.studio
hosted zone, which will propagate DNS requests to the name servers that paimonganyu-test
account has.Parameters:
Env:
Type: String
Default: test
AllowedValues:
- test
- prod
Description: The enviroment type of this deployment.
UseALB:
Type: String
Default: 'False'
AllowedValues:
- 'True'
- 'False'
Description: Whether to create an ALB. If Env=prod, an ALB is always created.
Conditions:
CreateProd: !Equals [!Ref Env, prod]
CreateALB: !Or [Condition: CreateProd, !Equals [!Ref UseALB, 'True']]
Mappings:
EnvMap:
HostedZone:
prod: paimon.studio.
test: test.paimon.studio.
ApiDomain:
prod: skill.paimon.studio
test: skill.test.paimon.studio
RegionEnvMap:
ap-northeast-2:
prod: SeoulProd
test: SeoulTest
ap-northeast-1:
prod: TokyoProd
test: TokyoTest
CACert:
SeoulProd: arn:aws:acm:ap-northeast-2:305992497901:certificate/9023abac-1279-4647-8056-ec5be058af4c
SeoulTest: arn:aws:acm:ap-northeast-2:254804608366:certificate/3ee23337-94cb-47ba-9ce4-b91c0b71ac1b
TokyoProd: arn:aws:acm:ap-northeast-1:305992497901:certificate/eb2ba354-e8c3-49ec-836d-5003be9c0da7
CFN templates for paimonganyu
and paimonganyu-skill
stacks exist inside their own gradle project's root directory.
Gradle tasks take responsibility to execute sam build & deploy CLI commands.
To-be: The overall goal is to find an elegant way to provide test/prod environments to the PaimonGanyu's architecture.
Consider using Lambda alias to provide test/prod environments for the workflows in theTwo siloed accounts will separate the environments.paimonganyu
stack.