wet-noon-14291
10/05/2020, 10:26 PMCode="ConfigurationNotExists" Message="The configuration '<name of resource>' does not exist for PostgreSQL server version <version number>."I've tried both version 9.5 and 11. I'm using F#, but that shouldn't matter since I've basically done a 1-to-1 copy from the C# sample. Any idea what I should do to get configuration working?
tall-librarian-49374
10/06/2020, 6:06 AMwet-noon-14291
10/06/2020, 6:42 AMwitty-candle-66007
10/06/2020, 1:24 PMexampleserver
and the configuration name was too long when uniquified by pulumi. So I changed it to exConf
and it worked.
I wonder if for some reason the C# use-case is hiding those errors and so it fails downstream.name
attribute in the Configuration definition. So, the code defaults to the name of the configuration. However, that name
parameter needs to be a name of Postgres configuration option (e.g. backslash_quote
)
Example:
const exampleConfiguration = new azure.postgresql.Configuration('mitchCfg', {
name: 'backslash_quote',
resourceGroupName: exampleResourceGroup.name,
serverName: exampleServer.name,
value: 'off',
});
server parameters
view for the PostgresSQL server, you'll see the options names that can be used when setting the configuration.
Also, I'll get the documentation updated accordingly.