Allow option to configure default project_owner when creating projects through API key
We're currently using the Atlas Service Broker (https://github.com/mongodb/atlas-osb) which is built using the native Atlas REST APIs.
In the project creation, it creates the project using the POST /api/atlas/v1.0/groups endpoint via an API key. As a result, we have an unexpected user added as the project_owner of the project.
THis is due to:
To create a project using API Key credentials, you must specify an orgId. When you do, Atlas automatically selects the Owner of the specified organization with the earliest account creation date and time as the Project Owner for the newly created project.
The API should be expanded to allow for a user to be configured as the default project owner, or the project should not require a default project_owner at all when it is created via an API.
Another concern is that an additional project owner could be added via the Atlas Console. This would provide access to the account as defined in the user section of project access management but would not be captured in any associated source control management.
Although this seems like an alright feature for a default Project Owner but if we are creating projects using an API key via Terraform the person creating the project may not be an organization owner or even associated with the project. Assigning ownership via the Terraform provider would clearly designate who the owner is to people who may not have Atlas access.
This is important for us too.
Actually the default user is someone that should not be in every projects, so we have to manually remove him and remplace him with the right person.