modified: add Dependency
This commit is contained in:
parent
90759feb2f
commit
6e3c8408f9
1 changed files with 4 additions and 1 deletions
|
|
@ -41,8 +41,9 @@ export class LangflowAppStack extends cdk.Stack {
|
|||
alb:alb,
|
||||
arch:arch
|
||||
})
|
||||
backendService.node.addDependency(rdsCluster);
|
||||
|
||||
new FrontEndCluster(this, 'frontend',{
|
||||
const frontendService = new FrontEndCluster(this, 'frontend',{
|
||||
cluster:cluster,
|
||||
ecsFrontSG:ecsFrontSG,
|
||||
ecrFrontEndRepository:ecrFrontEndRepository,
|
||||
|
|
@ -54,6 +55,8 @@ export class LangflowAppStack extends cdk.Stack {
|
|||
cloudmapNamespace: cloudmapNamespace,
|
||||
arch:arch
|
||||
})
|
||||
frontendService.node.addDependency(backendService);
|
||||
|
||||
|
||||
// S3+CloudFront
|
||||
// new Web(this,'Cloudfront-S3')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue