From b95f90266f5a95e2d8b15d6cb1ba05603848acdd Mon Sep 17 00:00:00 2001 From: Neil Ye Date: Mon, 6 Nov 2023 15:45:09 +0800 Subject: [PATCH] `azurerm_postgresql_database` - update the validation of `collation` (#23783) --- .../services/postgres/validate/postgresql_database_collation.go | 1 + .../postgres/validate/postgresql_database_collation_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/internal/services/postgres/validate/postgresql_database_collation.go b/internal/services/postgres/validate/postgresql_database_collation.go index 29f60928f178..fa2f6d99a747 100644 --- a/internal/services/postgres/validate/postgresql_database_collation.go +++ b/internal/services/postgres/validate/postgresql_database_collation.go @@ -276,6 +276,7 @@ var specialCases = map[string]struct{}{ "POSIX": {}, "English_United Kingdom.1252": {}, "English_United States.1252": {}, + "French_France.1252": {}, "ucs_basic": {}, "default": {}, } diff --git a/internal/services/postgres/validate/postgresql_database_collation_test.go b/internal/services/postgres/validate/postgresql_database_collation_test.go index 2c776a0287a1..06586aab10ee 100644 --- a/internal/services/postgres/validate/postgresql_database_collation_test.go +++ b/internal/services/postgres/validate/postgresql_database_collation_test.go @@ -142,6 +142,7 @@ func TestPostgresqlDatabaseCollation_SpecialCases(t *testing.T) { "English_United Kingdom.1252": {}, "English_United States.1252": {}, "En-US": {}, + "French_France.1252": {}, "ucs_basic": {}, "default": {}, }