Closed julbrunner closed 2 years ago
@julbrunner , thanks for raising this issue. I assume you're asking how to set the sever parameters in postgresql. If yes, I assume you should use azurerm_postgresql_server
to implement it.
Example:
resource "azurerm_postgresql_configuration" "test" {
name = "client_encoding"
resource_group_name = azurerm_postgresql_server.test.resource_group_name
server_name = azurerm_postgresql_server.test.name
value = "UTF8"
}
@neil-yechenwei thanks, that did the trick ;)
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.2.2
AzureRM Provider Version
3.19.1
Affected Resource(s)/Data Source(s)
azurerm_postgresql_database
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
When accessing postgre SQL i would expect that in menu "server parameters" the enconding would've been changed to "UTF8".
Actual Behaviour
Charset remains on SQL_ASCII
Steps to Reproduce
No response
Important Factoids
No response
References
No response