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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
Hello
My issue seems related to #23167 that was fixed by #23171
Starting with azurerm_provider version 3.69.0, using "French_France.1252" as collation for postgresql database is no longer accepted and causes the plan to fail with this error:
│ Error: collation contains unknown collation French_France.1252
│
│ with azurerm_postgresql_database.mayday,
│ on postgresql-grs.tf line 42, in resource "azurerm_postgresql_database" "database":
│ 42: collation = "French_France.1252"
Prior to 3.69.0 this collation was accepted and is valid when looking at postgresql server configuration.
If I change it, terraform sees this change as breaking change and wants to re-create my database, which is really not what I want.
It seems like the issue raised in 23167 was more than just English_United Kingdom.1252, validation of collation apparently changed between 3.68 and 3.69 causing this error.
│ Error: collation contains unknown collation French_France.1252
│
│ with azurerm_postgresql_database.mayday,
│ on postgresql-grs.tf line 42, in resource "azurerm_postgresql_database""database":
│ 42: collation = "French_France.1252"
Expected Behaviour
The database configuration should be validated by terraform plan
Actual Behaviour
terraform plan displays this error and fails :
│ Error: collation contains unknown collation French_France.1252
│
│ with azurerm_postgresql_database.mayday,
│ on postgresql-grs.tf line 42, in resource "azurerm_postgresql_database" "database":
│ 42: collation = "French_France.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
My issue seems related to #23167 that was fixed by #23171
It looks like this PR fixed the collation validation only for English_United Kingdom.1252 but it appears more collations were no longer valid when changing azurerm provider version from 3.68 to 3.69
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
Hello
My issue seems related to #23167 that was fixed by #23171
Starting with azurerm_provider version 3.69.0, using "French_France.1252" as collation for postgresql database is no longer accepted and causes the plan to fail with this error:
│ Error: collation contains unknown collation French_France.1252
│
│ with azurerm_postgresql_database.mayday,
│ on postgresql-grs.tf line 42, in resource "azurerm_postgresql_database" "database":
│ 42: collation = "French_France.1252"
Prior to 3.69.0 this collation was accepted and is valid when looking at postgresql server configuration.
If I change it, terraform sees this change as breaking change and wants to re-create my database, which is really not what I want.
It seems like the issue raised in 23167 was more than just English_United Kingdom.1252, validation of collation apparently changed between 3.68 and 3.69 causing this error.
Terraform Version
1.1.5
AzureRM Provider Version
3.79.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
terraform plan displays this error and fails :
│ Error: collation contains unknown collation French_France.1252
│
│ with azurerm_postgresql_database.mayday,
│ on postgresql-grs.tf line 42, in resource "azurerm_postgresql_database" "database":
│ 42: collation = "French_France.1252"
Steps to Reproduce
Important Factoids
No response
References
My issue seems related to #23167 that was fixed by #23171
It looks like this PR fixed the collation validation only for English_United Kingdom.1252 but it appears more collations were no longer valid when changing azurerm provider version from 3.68 to 3.69
The text was updated successfully, but these errors were encountered: