---
modules:
 - name: {{appName}}-srv
   type: {{language}}
   path: {{& srvPath}}
   requires:
    - name: {{appName}}-redis

resources:
  - name: {{appName}}-redis
    type: org.cloudfoundry.managed-service
    parameters:
      service: redis-cache
      service-plan: standard
      # config:
        # memory: 2 # GB, can be 2 or 4
        # multi_az: true
        # cluster_mode: true
        # shard_count: 1
        # node_count: 3 # per shard minimum is 3 (for standard plan)
        # engine_version: "6.0" # can be "4.0" or "6.0"
        # maintenance_window:
          # day_of_week: Friday
          # start_hour_utc: 0
          # duration: 5 # hours
