You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -64,6 +76,11 @@ For example, if you want to grant sa-pubsub service account in Connect Dev an in
64
76
principals # List of principals that can be granted the role
65
77
role_type # Optional value, when set to 'custom' ensures custom role URI is properply generated
66
78
79
+
database_role_assignment # Optional map of custom role assignments
80
+
(roles will apply to all databases in the corresponnding env, that are listed in `project_account_bindings.auto.tfvars`)
81
+
readonly # list of [email protected] emails to be granted db custom roles
82
+
readwrite # list of [email protected] emails to be granted db custom roles
83
+
admin # list of [email protected] emails to be granted db custom roles
67
84
68
85
`global_custom_roles.auto.tfvars`
69
86
@@ -72,6 +89,12 @@ For example, if you want to grant sa-pubsub service account in Connect Dev an in
72
89
title # Name of the custom IAM role
73
90
permissions # List of permissions assigned to the role
74
91
description # Description of the custom role
92
+
93
+
database_role_assignment # Optional map of custom role assignments
94
+
(roles will apply to all databases, that are listed in `project_account_bindings.auto.tfvars`)
95
+
readonly # list of [email protected] emails to be granted db custom roles
96
+
readwrite # list of [email protected] emails to be granted db custom roles
97
+
admin # list of [email protected] emails to be granted db custom roles
75
98
4. Merging the new branch into main will trigger 'terraform plan'
76
99
5. Output of terraform plan can be reviewed in https://app.terraform.io/app/BCRegistry/workspaces/gcp-iam/runs
77
100
6. If no errors are present, and if Terraform state changes are as expected, 'terraform apply' can be executed for the run in the UI (will either need permissions to access or ask SRE team to review)
0 commit comments