Really the best solution would be to add the cloudflare template in your app.yml
This should be at the top area of app.yml and probably looks similar,
templates:
- "templates/postgres.template.yml"
- "templates/redis.template.yml"
- "templates/web.template.yml"
- "templates/web.ratelimited.template.yml"
- "templates/web.ssl.template.yml"
- "templates/cloudflare.template.yml"
Notice at the bottom where templates/cloudflare.template.yml was added.
After adding it you’ll need to rebuild.