templates/openshift-main-existing-vpc.template.yaml [644:703]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        SSLCertificateId: !If
          - UseCustomCertificate
          - !Ref 'CertificateArn'
          - !If
            - EnableSSLGeneration
            - !If
              - SetupRoute53
              - !GetAtt SSLCertificateStack.Outputs.ACMCertificateDNSArn
              - !GetAtt SSLCertificateStack.Outputs.ACMCertificateEmail
            - !Ref AWS::NoValue
        AvailabilityZones: !Join
          - ","
          - !Ref AvailabilityZones
Conditions:
  EmptyPullSecret: !Equals
    - !Ref PullSecret
    - xxxxxxxx
  EmptyOpenShiftAdminPassword: !Equals
    - !Ref OpenShiftAdminPassword
    - xxxxxxxx
  CustomClusterName: !Not
    - !Equals
      - !Ref ClusterName
      - ""
  UseCustomDomain: !And
    - !Not
      - !Equals
        - !Ref 'DomainName'
        - ''
    - Condition: EnableSSLGeneration
  UseCustomCertificate: !Not
    - !Equals
      - !Ref 'CertificateArn'
      - ''
  SetupRoute53: !And
    - !Not
      - !Equals
        - !Ref 'HostedZoneID'
        - ''
    - !Not
      - !Equals
        - !Ref 'DomainName'
        - ''
  SetupSubdomain: !And
    - !Not
      - !Equals
        - !Ref 'SubDomainPrefix'
        - ''
    - !Not
      - !Equals
        - !Ref 'HostedZoneID'
        - ''
    - !Not
      - !Equals
        - !Ref 'DomainName'
        - ''
  EnableSSLGeneration: !Equals
    - !Ref EnableSSLCertificateGeneration
    - "yes"
  UsingDefaultBucket: !Equals [!Ref QSS3BucketName, 'aws-quickstart']
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



templates/openshift-main.template.yaml [595:654]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        SSLCertificateId: !If
          - UseCustomCertificate
          - !Ref 'CertificateArn'
          - !If
            - EnableSSLGeneration
            - !If
              - SetupRoute53
              - !GetAtt SSLCertificateStack.Outputs.ACMCertificateDNSArn
              - !GetAtt SSLCertificateStack.Outputs.ACMCertificateEmail
            - !Ref AWS::NoValue
        AvailabilityZones: !Join
          - ","
          - !Ref AvailabilityZones
Conditions:
  EmptyPullSecret: !Equals
    - !Ref PullSecret
    - xxxxxxxx
  EmptyOpenShiftAdminPassword: !Equals
    - !Ref OpenShiftAdminPassword
    - xxxxxxxx
  CustomClusterName: !Not
    - !Equals
      - !Ref ClusterName
      - ""
  UseCustomDomain: !And
    - !Not
      - !Equals
        - !Ref 'DomainName'
        - ''
    - Condition: EnableSSLGeneration
  UseCustomCertificate: !Not
    - !Equals
      - !Ref 'CertificateArn'
      - ''
  SetupRoute53: !And
    - !Not
      - !Equals
        - !Ref 'HostedZoneID'
        - ''
    - !Not
      - !Equals
        - !Ref 'DomainName'
        - ''
  SetupSubdomain: !And
    - !Not
      - !Equals
        - !Ref 'SubDomainPrefix'
        - ''
    - !Not
      - !Equals
        - !Ref 'HostedZoneID'
        - ''
    - !Not
      - !Equals
        - !Ref 'DomainName'
        - ''
  EnableSSLGeneration: !Equals
    - !Ref EnableSSLCertificateGeneration
    - "yes"
  UsingDefaultBucket: !Equals [!Ref QSS3BucketName, 'aws-quickstart']
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



