Hi,@40746730 Welcome to the Microsoft Q&A forum and thanks for reaching out here
If I understand correctly you are asking if there is a way to set the unique ID for Azure Cosmos DB for PostgreSQL instance via infrastructure code (such as Terraform or Pulumi) instead of having it randomly generated and updated.
unique ID for Azure Cosmos DB for PostgreSQL is automatically generated and cannot be set via infrastructure code however I am checking with the internal product team and provide you with more details.
As per the internal team, this ID is randomly generated by the system and we don't have a way to control it
Regards
Geetha