How to create a service account on GCP using a python script calling the REST API and then give it specific roles?
Here are the steps that I have followed:
First I have created a request to create the account which works fine and I can see the account.
Second, added it to the role in the right method. However, and saying:
HttpError 400, "Role roles/logging.logWriter is not supported for this resource."
Any idea how to add scripting to a role for a service account using the API?