Here’s my spec.yml
name: zero2prod
region: nyc
services:
- name: zero2prod
dockerfile_path: Dockerfile
source_dir: .
github:
branch: main
deploy_on_push: true
repo: my_name/zero_to_prod
health_check:
http_path: /health_check
http_port: 8000
instance_count: 1
instance_size_slug: basic-xxs
routes:
- path: /
databases:
- engine: PG
name: newsletter
num_nodes: 1
size: db-s-dev-database
version: "14"
Why is it saying 14 is not a valid version when I can create it from the UI?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
I believe that the problem is due to the fact that you are using a dev database. With dev databases, you don’t get the complete version list available.
In case that you need Postgres 14 specifically, it is best to use a Managed database cluster rather than a dev database cluster:
Hope that this helps!
Best,
Bobby