templates/drupal.template.yaml [305:406]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Conditions:
  UseSSL:
    Fn::Not:
    - Fn::Equals:
      - Ref: SSLCertificateId
      - ''
  NoSSL:
    Fn::Equals:
      - Ref: SSLCertificateId
      - ''
  CFUseSSL:
    Fn::Not:
    - Fn::Equals:
      - Ref: CloudfrontSSLCertificateId
      - ''
  DrupalCdnModuleCondition:
    Fn::Equals:
    - Ref: CloudFrontEnable
    - 'true'
  DrupalSiteDomainRoute53Condition:
    Fn::And:
    - Fn::Not:
      - Fn::Equals:
        - Ref: DrupalSiteDomain
        - localhost.local
    - Fn::Not:
      - Fn::Equals:
        - Ref: Route53HostedZoneId
        - ''
  CloudFrontAliasRoute53Condition:
    Fn::And:
    - Fn::Not:
      - Fn::Equals:
        - Ref: CloudFrontAlias
        - cdn.default
    - Fn::Not:
      - Fn::Equals:
        - Ref: Route53HostedZoneId
        - ''
    - Fn::Equals:
      - Ref: CloudFrontEnable
      - 'true'
  AdditionalVars: !Not [!Equals [!Ref 'BastionVariables', '']]
Rules:
  AuroraEngineModeRule:
    RuleCondition:
      Fn::Equals:
      - Ref: EngineMode
      - serverless
    Assertions:
    - Assert:
        Fn::Contains:
        - - 5.6.10a
        - Ref: EngineVersion
      AssertDescription: For the ServerlessEngine Mode , the Engine Version must be 5.6.10a
  EKSSupport:
    Assertions:
      - AssertDescription: Your AWS Region does *NOT* yet support Amazon EKS
        Assert: !Contains
          -  - us-west-2
             - us-east-1
             - us-east-2
             - eu-west-1
             - eu-west-2
             - eu-west-3
             - eu-north-1
             - eu-central-1
             - ap-southeast-1
             - ap-southeast-2
             - ap-northeast-1
             - ap-northeast-2
             - ap-south-1
          - !Ref 'AWS::Region'
  SslAndRoute53Rule:
    RuleCondition:
      Fn::Or:
      - Fn::Not:
        - Fn::Equals:
          - Ref: SSLCertificateId
          - ''
      - Fn::Not:
        - Fn::Equals:
          - Ref: Route53HostedZoneId
          - ''
    Assertions:
    - Assert:
        Fn::Not:
        - Fn::Equals:
          - Ref: DrupalSiteDomain
          - localhost.local
      AssertDescription: Parameter DrupalSiteDomain cannot be the default value 'localhost.local'
        and must provide FQDN e.g. example.com, when SSLCertificateId or Route53HostedZoneIdis
        values are provided.
    - Assert:
        Fn::Not:
        - Fn::Equals:
          - Ref: CloudFrontAlias
          - cdn.default
      AssertDescription: Parameter CloudFrontAlias cannot be the default value 'cdn.default'
        and must provide FQDN e.g. cdn.example.com, when SSLCertificateId or Route53HostedZoneIdis
        values are provided.
Resources:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



templates/master.template.yaml [585:687]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Conditions:
  UseSSL:
    Fn::Not:
    - Fn::Equals:
      - Ref: SSLCertificateId
      - ''
  NoSSL:
    Fn::Equals:
      - Ref: SSLCertificateId
      - ''
  CFUseSSL:
    Fn::Not:
    - Fn::Equals:
      - Ref: CloudfrontSSLCertificateId
      - ''
  DrupalCdnModuleCondition:
    Fn::Equals:
    - Ref: CloudFrontEnable
    - 'true'
  DrupalSiteDomainRoute53Condition:
    Fn::And:
    - Fn::Not:
      - Fn::Equals:
        - Ref: DrupalSiteDomain
        - localhost.local
    - Fn::Not:
      - Fn::Equals:
        - Ref: Route53HostedZoneId
        - ''
  CloudFrontAliasRoute53Condition:
    Fn::And:
    - Fn::Not:
      - Fn::Equals:
        - Ref: CloudFrontAlias
        - cdn.default
    - Fn::Not:
      - Fn::Equals:
        - Ref: Route53HostedZoneId
        - ''
    - Fn::Equals:
      - Ref: CloudFrontEnable
      - 'true'
  AdditionalVars: !Not [!Equals [!Ref 'BastionVariables', '']]
Rules:
  AuroraEngineModeRule:
    RuleCondition:
      Fn::Equals:
      - Ref: EngineMode
      - serverless
    Assertions:
    - Assert:
        Fn::Contains:
        - - 5.6.10a
        - Ref: EngineVersion
      AssertDescription: For the ServerlessEngine Mode , the Engine Version must be 5.6.10a

  EKSSupport:
    Assertions:
      - AssertDescription: Your AWS Region does *NOT* yet support Amazon EKS
        Assert: !Contains
          -  - us-west-2
             - us-east-1
             - us-east-2
             - eu-west-1
             - eu-west-2
             - eu-west-3
             - eu-north-1
             - eu-central-1
             - ap-southeast-1
             - ap-southeast-2
             - ap-northeast-1
             - ap-northeast-2
             - ap-south-1
          - !Ref 'AWS::Region'
  SslAndRoute53Rule:
    RuleCondition:
      Fn::Or:
      - Fn::Not:
        - Fn::Equals:
          - Ref: SSLCertificateId
          - ''
      - Fn::Not:
        - Fn::Equals:
          - Ref: Route53HostedZoneId
          - ''
    Assertions:
    - Assert:
        Fn::Not:
        - Fn::Equals:
          - Ref: DrupalSiteDomain
          - localhost.local
      AssertDescription: Parameter DrupalSiteDomain cannot be the default value 'localhost.local'
        and must provide FQDN e.g. example.com, when SSLCertificateId or Route53HostedZoneIdis
        values are provided.
    - Assert:
        Fn::Not:
        - Fn::Equals:
          - Ref: CloudFrontAlias
          - cdn.default
      AssertDescription: Parameter CloudFrontAlias cannot be the default value 'cdn.default'
        and must provide FQDN e.g. cdn.example.com, when SSLCertificateId or Route53HostedZoneIdis
        values are provided.
Resources:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



