When trying to create my DO App Platform infrastructure with Terraform, I receive the following error:
error validating app spec field “databases.version”: “15” is not a supported database version
The database
section of the app spec file is as follows:
database {
name = "${var.pg_edgedb_service_name}-${terraform.workspace}"
engine = "PG"
version = var.pg_edgedb_ver
production = terraform.workspace == "prod" ? true : false
cluster_name = "edgedb-postgres-cluster-${terraform.workspace}"
}
I receive the same error whether I pass in 15
, 14
, or 13
for the version
attribute. 12
seems to work–there is at least not an immediate field validation error. If I create a DB manually in the UI, versions 13, 14, and 15 are available for selection, and I can’t find any documentation to suggest that at least 13
shouldn’t work, so this has me pretty confused.
What versions are actually supported? Where can I find relevant documentation?
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 this could be related to the
production
flag, does it work if you set this totrue
and then try it again?I believe that the default version for the dev databases is 12 hence it is failing when
production
is set to false.Let me know how it goes!
Best,
Bobby