Validation of tf provider rejects valid names for postgres databases.
Error: Error creating database
│
│ with stackit_postgresflex_database.a_b_db,
│ on main.tf line 137, in resource "stackit_postgresflex_database" "a_b_db":
│ 137: resource "stackit_postgresflex_database" "a_b_db" {
│
│ Calling API: 400 Bad Request, status code 400, Body: {"message":"failed to validate
│ body","code":400,"type":"Validation","fields":{"name":["the name field is not valid: a DNS-1035 label must consist of lower case
│ alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name', or
│ 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?')"]}}
Description
Validation of tf provider rejects valid names for postgres databases.
Steps to reproduce
tofu plan -out plan.outtofu apply plan.outActual behavior
Expected behavior
The tf provider should create databases if they're valid according to postgres documentation:
https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS
Environment
terraform --version):OpenTofu v1.11.1v0.73.0