@@ -469,7 +469,7 @@ export class InfraStack extends Stack {
469
469
470
470
let dashboardsListener : NetworkListener | ApplicationListener ;
471
471
if ( this . dashboardsUrl !== 'undefined' ) {
472
- const useSSLDashboardsListener = ! this . securityDisabled && ! this . minDistribution
472
+ const useSSLDashboardsListener = ! this . securityDisabled && ! this . minDistribution
473
473
&& this . opensearchDashboardsPortMapping === 443 && certificateArn !== 'undefined' ;
474
474
dashboardsListener = InfraStack . createListener (
475
475
this . elb ,
@@ -509,18 +509,18 @@ export class InfraStack extends Stack {
509
509
// Disable target security for now, can be provided as an option in the future
510
510
InfraStack . addTargetsToListener (
511
511
opensearchListener ,
512
- this . elbType ,
513
- 'single-node-target' ,
514
- 9200 ,
512
+ this . elbType ,
513
+ 'single-node-target' ,
514
+ 9200 ,
515
515
new InstanceTarget ( singleNodeInstance ) ,
516
516
false ) ;
517
517
518
518
if ( this . dashboardsUrl !== 'undefined' ) {
519
519
InfraStack . addTargetsToListener (
520
520
dashboardsListener ! ,
521
- this . elbType ,
522
- 'single-node-osd-target' ,
523
- 5601 ,
521
+ this . elbType ,
522
+ 'single-node-osd-target' ,
523
+ 5601 ,
524
524
new InstanceTarget ( singleNodeInstance ) ,
525
525
false ) ;
526
526
}
@@ -652,7 +652,7 @@ export class InfraStack extends Stack {
652
652
requireImdsv2 : true ,
653
653
signals : Signals . waitForAll ( ) ,
654
654
} ) ;
655
- Tags . of ( clientNodeAsg ) . add ( 'cluster' , scope . stackName ) ;
655
+ Tags . of ( clientNodeAsg ) . add ( 'cluster' , this . stackName ) ;
656
656
}
657
657
658
658
Tags . of ( clientNodeAsg ) . add ( 'role' , 'client' ) ;
@@ -690,18 +690,18 @@ export class InfraStack extends Stack {
690
690
// Disable target security for now, can be provided as an option in the future
691
691
InfraStack . addTargetsToListener (
692
692
opensearchListener ,
693
- this . elbType ,
694
- 'opensearchTarget' ,
695
- 9200 ,
693
+ this . elbType ,
694
+ 'opensearchTarget' ,
695
+ 9200 ,
696
696
clientNodeAsg ,
697
697
false ) ;
698
698
699
699
if ( this . dashboardsUrl !== 'undefined' ) {
700
700
InfraStack . addTargetsToListener (
701
701
dashboardsListener ! ,
702
- this . elbType ,
703
- 'dashboardsTarget' ,
704
- 5601 ,
702
+ this . elbType ,
703
+ 'dashboardsTarget' ,
704
+ 5601 ,
705
705
clientNodeAsg ,
706
706
false ) ;
707
707
}
0 commit comments