project_roles
Functionality related to asking the user for GCP project roles.
ask_for_project_roles(auth_group)
Ask the user for GCP roles to which project-wide access should be granted.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
auth_group |
str
|
The auth group name, used for customizing the prompts |
required |
Returns:
Type | Description |
---|---|
List[GCPRole]
|
A list of GCP roles |
Source code in dapla_team_cli/tf/iam_bindings/project_roles.py
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
|
ask_for_role()
Ask for one GCP role.
Source code in dapla_team_cli/tf/iam_bindings/project_roles.py
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|