Open tl-yang opened 3 years ago
The error you're getting is because the cloud-sql.py
template in cloud-foundation-toolkit has a matching schema file, that specifies the specific values that are supported by the template. That list was last updated in December 2019 as part of this commit, so any version that was added since wouldn't be in the existing list, which is what I expect is happening here.
Modifying the list of valid databaseVersions to add POSTGRES_12
should be sufficient to unblock you, whether that's modifying the local version you're using or putting up a pull request for the cloud-foundation-toolkit repository.
According to documentation, POSTGRES_12 should be supported? But when I tried to use deployment manager to create Cloud SQL with DatabaseVersion POSTGRES_12, it failed with
The cloud_sql.py I'm using is the one from cloud-foundation-toolkit.
Is this a bug or did I miss something?
Thank you very much for your help!