control-plane/storage-manager/storage-manager.yaml [163:186]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      DesiredCount: !Ref 'DesiredCount'
      NetworkConfiguration:
        AwsvpcConfiguration:
          AssignPublicIp: DISABLED
          SecurityGroups: [!Ref SecurityGroup]
          Subnets: !Ref SubnetsPrivate
      TaskDefinition: !Ref TaskDefinition
      ServiceRegistries:
        - RegistryArn: !GetAtt DiscoveryService.Arn

  ###
  ## Security group for controlling access to the service
  #
  SecurityGroup:
    Type: AWS::EC2::SecurityGroup
    Properties:
      GroupName: !Sub ${SRVPrefix}-SecurityGroup
      GroupDescription: !Sub 'Allowed ports for ${SRVPrefix} ECS service.'
      VpcId: !Ref TheVPCID
      SecurityGroupIngress:
        - IpProtocol: tcp
          FromPort: !Ref ContainerPort
          ToPort: !Ref ContainerPort
          CidrIp: !Ref DefaultAccessCIDR
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



data-plane/fargate-sql-service/fargate-sql-service.yaml [277:300]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      DesiredCount: !Ref 'DesiredCount'
      NetworkConfiguration:
        AwsvpcConfiguration:
          AssignPublicIp: DISABLED
          SecurityGroups: [!Ref SecurityGroup]
          Subnets: !Ref SubnetsPrivate
      TaskDefinition: !Ref TaskDefinition
      ServiceRegistries:
        - RegistryArn: !GetAtt DiscoveryService.Arn

  ###
  ## Security group for controlling access to the service
  #
  SecurityGroup:
    Type: AWS::EC2::SecurityGroup
    Properties:
      GroupName: !Sub ${SRVPrefix}-SecurityGroup
      GroupDescription: !Sub 'Allowed ports for ${SRVPrefix} ECS service.'
      VpcId: !Ref TheVPCID
      SecurityGroupIngress:
        - IpProtocol: tcp
          FromPort: !Ref ContainerPort
          ToPort: !Ref ContainerPort
          CidrIp: !Ref DefaultAccessCIDR
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



