File tree 1 file changed +3
-11
lines changed
1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -447,6 +447,7 @@ Resources:
447
447
Description : ' Role for ES to access resources in my VPC'
448
448
449
449
RDSSecret :
450
+ Condition : isCreateMySQL
450
451
Type : AWS::SecretsManager::Secret
451
452
Properties :
452
453
Description : Secrets for RDS
@@ -461,6 +462,7 @@ Resources:
461
462
Value : " true"
462
463
463
464
ESSecret :
465
+ Condition : isCreateElasticSearch
464
466
Type : AWS::SecretsManager::Secret
465
467
Properties :
466
468
Description : Secrets for RDS
@@ -564,6 +566,7 @@ Resources:
564
566
Type : AWS::CloudFormation::Stack
565
567
DependsOn :
566
568
- VPCStack
569
+ - ESServiceRole
567
570
Properties :
568
571
Tags :
569
572
- Key : Name
@@ -750,17 +753,6 @@ Resources:
750
753
ESMasterUserPassword :
751
754
Fn::Sub : " {{resolve:secretsmanager:${ESSecret}::password}}"
752
755
753
- # PrivateLinkStack:
754
- # Type: AWS::CloudFormation::Stack
755
- # DependsOn:
756
- # - AdminStack
757
- # Properties:
758
- # Tags:
759
- # - Key: Name
760
- # Value: !Sub "${AWS::StackName}"
761
- # - Key: Component
762
- # Value: !Sub "${AWS::StackName}-PrivateLink"
763
- # TemplateURL: !Sub "https://${TemplateBucketName}.s3.amazonaws.com/${TemplateBucketKeyPrefix}/templates/nested/privatelink.yaml"
764
756
765
757
Outputs :
766
758
# VPC stack
You can’t perform that action at this time.
0 commit comments