Open mhauru opened 1 year ago
I had to hunt around a bit to find a region where I could get azure to let me provision this at all, but I did manage to get a reproduction in useast. https://github.com/mjeffryes/python-repros/commit/41eb3a93dc379c321c585eac03caa670105094da
I also confirmed that I could create the database from the azure command line tool. Attaching some logs from the failed create. logs.txt
I tried running the REST API request for creating a database manually using this, but couldn't get it to work.
@Iain-S just pointed out that removing the collation="English_United States.1252"
makes this problem go away.
What happened?
I have a pulumi config that creates a flexible PostgreSQL server and a database for it. When running
pulumi up
, the creation of the database fails withThe PostgreSQL server itself is fine, and I can use e.g.
psql
to create thedtdb
database manually.Example
The relevant parts of my Python config file are these:
The full config is here: https://github.com/alan-turing-institute/DTBase/blob/update-pulumi-config/infrastructure/__main__.py
Output of
pulumi about
Additional context
Very similar to https://github.com/pulumi/pulumi-azure-native/issues/1921, but the workaround used there does not work for me: Changing the SKU doesn't fix the problem.
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).