templates/qs-cloudq-main-advanced.template.yaml [593:612]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  EnvTypeRule:
    RuleCondition: !Not [!Equals [!Ref EnvType, "dev"]]
    Assertions: 
      - Assert: !Not [!Equals [!Ref QInstanceType, m5.xlarge]]
        AssertDescription: "m5.xlarge instance types are not supported for production environments. Choose at least an m5.2xlarge or switch to a dev environment type."

  DrEBSRule:
    RuleCondition: !Equals [!Ref QDr, "YES"]
    Assertions:
      - Assert: !Contains
        - - Custom-1TB-6PB
          - Specified-AMI-ID
        - !Ref QMarketPlaceType
        AssertDescription: "Disaster-recovery clusters require Custom-1TB-6PB or Specified-AMI-ID offering. Choose the appropriate offering."
      - Assert: !Contains 
        - - m5.xlarge
          - m5.2xlarge
          - m5.4xlarge
          - m5.8xlarge
        - !Ref QInstanceType
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



templates/qs-cloudq-main-new-vpc.template.yaml [614:633]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  EnvTypeRule:
    RuleCondition: !Not [!Equals [!Ref EnvType, "dev"]]
    Assertions: 
      - Assert: !Not [!Equals [!Ref QInstanceType, m5.xlarge]]
        AssertDescription: "m5.xlarge instance types are not supported for production environments. Choose at least an m5.2xlarge or switch to a dev environment type."

  DrEBSRule:
    RuleCondition: !Equals [!Ref QDr, "YES"]
    Assertions:
      - Assert: !Contains
        - - Custom-1TB-6PB
          - Specified-AMI-ID
        - !Ref QMarketPlaceType
        AssertDescription: "Disaster-recovery clusters require Custom-1TB-6PB or Specified-AMI-ID offering. Choose the appropriate offering."
      - Assert: !Contains 
        - - m5.xlarge
          - m5.2xlarge
          - m5.4xlarge
          - m5.8xlarge
        - !Ref QInstanceType
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



