Skip to content

Commit

Permalink
Clean up unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Dexter Lee committed Oct 28, 2021
1 parent bea1e03 commit a39a002
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions templates/datahub-infra-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ Resources:
Description: 'Role for ES to access resources in my VPC'

RDSSecret:
Condition: isCreateMySQL
Type: AWS::SecretsManager::Secret
Properties:
Description: Secrets for RDS
Expand All @@ -461,6 +462,7 @@ Resources:
Value: "true"

ESSecret:
Condition: isCreateElasticSearch
Type: AWS::SecretsManager::Secret
Properties:
Description: Secrets for RDS
Expand Down Expand Up @@ -564,6 +566,7 @@ Resources:
Type: AWS::CloudFormation::Stack
DependsOn:
- VPCStack
- ESServiceRole
Properties:
Tags:
- Key: Name
Expand Down Expand Up @@ -750,17 +753,6 @@ Resources:
ESMasterUserPassword:
Fn::Sub: "{{resolve:secretsmanager:${ESSecret}::password}}"

# PrivateLinkStack:
# Type: AWS::CloudFormation::Stack
# DependsOn:
# - AdminStack
# Properties:
# Tags:
# - Key: Name
# Value: !Sub "${AWS::StackName}"
# - Key: Component
# Value: !Sub "${AWS::StackName}-PrivateLink"
# TemplateURL: !Sub "https://${TemplateBucketName}.s3.amazonaws.com/${TemplateBucketKeyPrefix}/templates/nested/privatelink.yaml"

Outputs:
# VPC stack
Expand Down

0 comments on commit a39a002

Please sign in to comment.