The goal of this article is to create Service Accounts with Custom Roles in Google Cloud using CI CD pipeline and Infrastructure As Code.
The use of custom roles is interesting because it allows us to follow the least privilege principle, which is to set only the necessary permissions.
The infrastructure we want to manage in Google Cloud is Service Accounts containing predefined and custom roles.
The tools chosen for this use case are :
Below you can see the use case diagram of this article :