Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
1.2 kB
4
Indexable
Never
{% if sceptre_user_data.site_prefix is defined and sceptre_user_data.site_prefix != "core" %}
        - Name: !Sub "*.{{ sceptre_user_data.site_prefix }}.${HostedZoneName}"
        {% else %}
        - Name: !Sub "*.${HostedZoneName}"
        {% endif %}
          Type: A
          AliasTarget:
            HostedZoneId: !Ref PlatformALBHostedZoneID
            DNSName: !Ref PlatformALBDNSName
        {% if sceptre_user_data.platform_version is defined %}
        {% if sceptre_user_data.env == "prod" %}
        - Name: !Sub "{{ sceptre_user_data.site_prefix }}.pairing.${HostedZoneName}"
        {% elif sceptre_user_data.env == "alpha" %}
        - Name: !Sub "{{ sceptre_user_data.site_prefix }}.alpha.pairing${HostedZoneName}"
        {% elif sceptre_user_data.env == "dev" %}
        - Name: !Sub "{{ sceptre_user_data.site_prefix }}.dev.pairing.${HostedZoneName}"
        {$ elif sceptre_user_data.env == "staging" %}
        - Name: !Sub "{{ sceptre_user_data.site_prefix }}.staging.pairing.${HostedZoneName}"
        {% endif %}
          Type: A
          AliasTarget:
            HostedZoneId: !Ref PlatformNLBHostedZoneID
            DNSName: !Ref PlatformNLBDNSName
        {% endif %}