For the operator the service id is the DB uuid and the project id is the OVHcloud public cloud project uuid.
In the OVHcloud Terraform provider to create a database the service id is the OVHcloud public cloud project id and the cluster_id is the DB uuid (https://registry.terraform.io/providers/ovh/ovh/latest/docs/resources/cloud_project_database_postgresql_user).
I think it's confusing when we use both of tools (operator and terraform).
For the operator the service id is the DB uuid and the project id is the OVHcloud public cloud project uuid.
In the OVHcloud Terraform provider to create a database the service id is the OVHcloud public cloud project id and the cluster_id is the DB uuid (https://registry.terraform.io/providers/ovh/ovh/latest/docs/resources/cloud_project_database_postgresql_user).
I think it's confusing when we use both of tools (operator and terraform).