dual-primary/cf-service-primary.yml [548:612]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            Protocol: TCP

    ECSTaskExecutionRoleStack:
      Type: AWS::CloudFormation::Stack
      Properties:
        TemplateURL: !Join [ '', ['https://', !Ref TemplateBucketName, '.s3.amazonaws.com/cf-gerrit-task-execution-role.yml'] ]
        TimeoutInMinutes: '5'

Outputs:
  ########
  # HTTP #
  ########
  GerritHTTPLoadBalancerDNSName:
    Description: The DNS name of the gerrit HTTP load balancer
    Value: !GetAtt 'GerritHTTPLoadBalancer.DNSName'
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'GerritHTTPLoadBalancerDNSName' ] ]
  GerritHTTPCanonicalHostedZoneID:
    Description: Canonical Hosted Zone ID of the gerrit HTTP load balancer
    Value: !GetAtt 'GerritHTTPLoadBalancer.CanonicalHostedZoneID'
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'GerritHTTPCanonicalHostedZoneID' ] ]
  GerritHTTPLoadBalancerUrl:
    Description: The url of the gerrit HTTP load balancer
    Value: !Join ['', ['http://', !GetAtt 'GerritHTTPLoadBalancer.DNSName']]
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'GerritHTTPLoadBalancerUrl' ] ]
  #######
  # SSH #
  #######
  GerritSSHLoadBalancerDNSName:
    Description: The DNS name of the gerrit SSH load balancer
    Value: !GetAtt 'GerritSSHLoadBalancer.DNSName'
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'GerritSSHLoadBalancerDNSName' ] ]
  GerritSSHCanonicalHostedZoneID:
    Description: Canonical Hosted Zone ID of the gerrit SSH load balancer
    Value: !GetAtt 'GerritSSHLoadBalancer.CanonicalHostedZoneID'
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'GerritSSHCanonicalHostedZoneID' ] ]
  GerritSSHLoadBalancerUrl:
    Description: The url of the gerrit SSH load balancer
    Value: !Join ['', ['http://', !GetAtt 'GerritSSHLoadBalancer.DNSName']]
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'GerritSSHLoadBalancerUrl' ] ]
  #######
  # DNS #
  #######
  HostedZoneName:
    Description: Route53 Hosted Zone name
    Value: !Ref HostedZoneName
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'HostedZoneName' ] ]
  HttpSubdomain:
    Description: Service DNS subdomain for gerrit HTTP traffic
    Value: !Ref HttpSubdomain
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'HttpSubdomain' ] ]
  SshSubdomain:
    Description: Service DNS subdomain for gerrit SSH traffic
    Value: !Ref SshSubdomain
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'SshSubdomain' ] ]
  CanonicalWebUrl:
    Description: Canonical Web URL
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



primary-replica/cf-service-primary.yml [482:546]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            Protocol: TCP

    ECSTaskExecutionRoleStack:
      Type: AWS::CloudFormation::Stack
      Properties:
        TemplateURL: !Join [ '', ['https://', !Ref TemplateBucketName, '.s3.amazonaws.com/cf-gerrit-task-execution-role.yml'] ]
        TimeoutInMinutes: '5'

Outputs:
  ########
  # HTTP #
  ########
  GerritHTTPLoadBalancerDNSName:
    Description: The DNS name of the gerrit HTTP load balancer
    Value: !GetAtt 'GerritHTTPLoadBalancer.DNSName'
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'GerritHTTPLoadBalancerDNSName' ] ]
  GerritHTTPCanonicalHostedZoneID:
    Description: Canonical Hosted Zone ID of the gerrit HTTP load balancer
    Value: !GetAtt 'GerritHTTPLoadBalancer.CanonicalHostedZoneID'
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'GerritHTTPCanonicalHostedZoneID' ] ]
  GerritHTTPLoadBalancerUrl:
    Description: The url of the gerrit HTTP load balancer
    Value: !Join ['', ['http://', !GetAtt 'GerritHTTPLoadBalancer.DNSName']]
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'GerritHTTPLoadBalancerUrl' ] ]
  #######
  # SSH #
  #######
  GerritSSHLoadBalancerDNSName:
    Description: The DNS name of the gerrit SSH load balancer
    Value: !GetAtt 'GerritSSHLoadBalancer.DNSName'
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'GerritSSHLoadBalancerDNSName' ] ]
  GerritSSHCanonicalHostedZoneID:
    Description: Canonical Hosted Zone ID of the gerrit SSH load balancer
    Value: !GetAtt 'GerritSSHLoadBalancer.CanonicalHostedZoneID'
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'GerritSSHCanonicalHostedZoneID' ] ]
  GerritSSHLoadBalancerUrl:
    Description: The url of the gerrit SSH load balancer
    Value: !Join ['', ['http://', !GetAtt 'GerritSSHLoadBalancer.DNSName']]
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'GerritSSHLoadBalancerUrl' ] ]
  #######
  # DNS #
  #######
  HostedZoneName:
    Description: Route53 Hosted Zone name
    Value: !Ref HostedZoneName
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'HostedZoneName' ] ]
  HttpSubdomain:
    Description: Service DNS subdomain for gerrit HTTP traffic
    Value: !Ref HttpSubdomain
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'HttpSubdomain' ] ]
  SshSubdomain:
    Description: Service DNS subdomain for gerrit SSH traffic
    Value: !Ref SshSubdomain
    Export:
      Name: !Join [ ':', [ !Ref 'AWS::StackName', 'SshSubdomain' ] ]
  CanonicalWebUrl:
    Description: Canonical Web URL
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



