Changed my config to create an azure.postgresql.Da...
# azure
e
Changed my config to create an azure.postgresql.Database (instead of azure.sql.Database), now I'm getting this:
Copy code
postgresql:index:Role (ground-control-db): error: Error initializing PostgreSQL client: error detecting capabilities: error PostgreSQL version: dial tcp: lookup ground-control-db-server on 8.8.8.8:53: no such host
g
I think the
host
that you're specifying is not the fully formed DNS name.
Something like
${server.name}.<http://database.windows.net|database.windows.net>
is needed I believe.
Here's an example - https://github.com/pulumi/examples/blob/5bcf9de17a660f17172ca05d4ca3f061456a99c5/azure-ts-appservice/index.ts#L95, but that full string is not the same format that the postgresql provider needs AFAIK.
e
So replace
server.name
with
server.fqdn
in the database config?
Ah, the provider