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,
|
alb:alb,
|
||||||
arch:arch
|
arch:arch
|
||||||
})
|
})
|
||||||
|
backendService.node.addDependency(rdsCluster);
|
||||||
|
|
||||||
new FrontEndCluster(this, 'frontend',{
|
const frontendService = new FrontEndCluster(this, 'frontend',{
|
||||||
cluster:cluster,
|
cluster:cluster,
|
||||||
ecsFrontSG:ecsFrontSG,
|
ecsFrontSG:ecsFrontSG,
|
||||||
ecrFrontEndRepository:ecrFrontEndRepository,
|
ecrFrontEndRepository:ecrFrontEndRepository,
|
||||||
|
|
@ -54,6 +55,8 @@ export class LangflowAppStack extends cdk.Stack {
|
||||||
cloudmapNamespace: cloudmapNamespace,
|
cloudmapNamespace: cloudmapNamespace,
|
||||||
arch:arch
|
arch:arch
|
||||||
})
|
})
|
||||||
|
frontendService.node.addDependency(backendService);
|
||||||
|
|
||||||
|
|
||||||
// S3+CloudFront
|
// S3+CloudFront
|
||||||
// new Web(this,'Cloudfront-S3')
|
// new Web(this,'Cloudfront-S3')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue