Skip to content

Azure DB for Postgres Flexible Server #229

@Iain-S

Description

@Iain-S

What happened?

I am migrating from using an Azure DB for Postgres Single Server, which is being deprecated in March 2025, to a Flexible Server. When I try to create a new Role on the Flexible Server, I get an error:

Diagnostics:
  postgresql:index:Role (dev-role):
    error: 1 error occurred:
        * error detecting capabilities: error PostgreSQL version: read tcp 10.10.8.16:51843->20.108.54.30:5432: read: connection reset by peer

Expected Behavior

I expect a new user/role to be added to the Flexible server.

Steps to reproduce

Please see this repo for a minimal reproducible example: https://github.com/Iain-S/pulumi-flexible-server

Output of pulumi about

CLI
Version 3.70.0
Go Version go1.20.4
Go Compiler gc

Plugins
NAME VERSION
azure-native 1.103.0
postgresql 3.8.0
python unknown
random 4.13.2

Host
OS darwin
Version 13.4
Arch arm64

NAME VERSION
black 23.3.0
pip 23.1.2
pulumi-azure-native 1.103.0
pulumi-postgresql 3.8.0
pulumi-random 4.13.2
setuptools 67.7.2
wheel 0.40.0

Additional context

It would be very helpful if there were simple examples of how to do this in the docs and some explanation of what is actually happening behind the scenes.

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting-feedbackBlocked on input from the authorkind/bugSome behavior is incorrect or out of spec

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions