You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
╷
│ Error: collation contains unknown collation Norwegian_Norway.1252
│
│ with azurerm_postgresql_database.example,
│ on db.tf line 57, in resource "azurerm_postgresql_database""example":
│ 57: collation = "Norwegian_Norway.1252"
│
╵
Expected Behaviour
The database configuration should be validated by terraform plan.
Actual Behaviour
The terraform plan fails with error:
╷
│ Error: collation contains unknown collation Norwegian_Norway.1252
│
│ with azurerm_postgresql_database.example,
│ on db.tf line 57, in resource "azurerm_postgresql_database" "example":
│ 57: collation = "Norwegian_Norway.1252"
│
╵
Steps to Reproduce
set azurerm provider version to 3.68.0
use configuration provided above
plan is valid
set azurerm provider version to 3.69.0 or above
use configuration provided above
plan fails
Important Factoids
No response
References
This issue seem highly related to two resolved issues:
Thus a fix seems to be by adding: Norwegian_Norway.1252 to the specialCases map in internal/services/postgres/validate/postgresql_database_collation.go as well as to its corresponding test in internal/services/postgres/validate/postgresql_database_collation_test.go
The text was updated successfully, but these errors were encountered:
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.6.2
AzureRM Provider Version
3.80.0
Affected Resource(s)/Data Source(s)
azurerm_postgresql_database
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The database configuration should be validated by terraform plan.
Actual Behaviour
The terraform plan fails with error:
╷
│ Error: collation contains unknown collation Norwegian_Norway.1252
│
│ with azurerm_postgresql_database.example,
│ on db.tf line 57, in resource "azurerm_postgresql_database" "example":
│ 57: collation = "Norwegian_Norway.1252"
│
╵
Steps to Reproduce
Important Factoids
No response
References
This issue seem highly related to two resolved issues:
Thus a fix seems to be by adding:
Norwegian_Norway.1252
to thespecialCases
map ininternal/services/postgres/validate/postgresql_database_collation.go
as well as to its corresponding test ininternal/services/postgres/validate/postgresql_database_collation_test.go
The text was updated successfully, but these errors were encountered: