Yaml is saying 'Did not find expected key' what am I missing?

Hey guys I’m trying to do a blueprint deploy but it’s giving me this issue that on the line where it says #Sidekiq it says ‘Did not find expected key’. Not sure what the deal is but I’ve reviewed the docs many times and everything is there.

databases:
  - name: climate_coolers_db
    databaseName: climate_coolers_db
    user: climate_coolers
services:
  - type: web
    name: climate_coolers_backend
    env: ruby
    buildCommand: "./bin/render-build.sh"
    startCommand: "bundle exec puma -C config/puma.rb"
    envVars:
      - key: DATABASE_URL
        fromDatabase:
          name: climate_coolers_db
          property: connectionString
      - key: RAILS_MASTER_KEY
        sync: false
      - key: REDIS_URL
        fromService:
          type: redis
          name: cc-sidekiq-redis
          property: connectionString
  - type: redis
    name: cc-sidekiq-redis
    region: oregon
    maxmemoryPolicy: noeviction
    plan: Starter
    ipAllowList: [] #ERROR IS HERE
  - type: worker
    name: cc-worker
    env: ruby
    region: oregon
    buildCommand: bundle install
    startCommand: bundle exec sidekiq
    envVars:
      - key: REDIS_URL
        fromService:
          type: redis
          name: cc-sidekiq-redis
          property: connectionString
    - key: DATABASE_URL
        fromDatabase:
          name: climate_coolers_db
          property: connectionString

Thanks in advance, I’m probably missing something that I can’t see…

Alright I think I found the issue: Apparently I fogot to tab the bottom -key: DATABASE_URL by 1 indentation…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.