This is an automated email from the ASF dual-hosted git repository. mykolabodnar pushed a commit to branch DLAB-1379 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1379 by this push: new d110660 [DLAB-1379] - SSN creation fixed d110660 is described below commit d110660f0e2cdc9c0d9cf90ac1d6affbb8785b70 Author: Mykola_Bodnar1 <bodnarmyk...@gmail.com> AuthorDate: Mon Dec 16 17:32:46 2019 +0200 [DLAB-1379] - SSN creation fixed --- infrastructure-provisioning/src/general/lib/gcp/actions_lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py b/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py index e3d9f53..3828f10 100644 --- a/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py +++ b/infrastructure-provisioning/src/general/lib/gcp/actions_lib.py @@ -556,7 +556,7 @@ class GCPActions: service_account_email = "{}@{}.iam.gserviceaccount.com".format(service_account_name, self.project) resource = "projects/{}/serviceAccounts/{}".format(self.project, service_account_email) if role_type == 'predefined': - role = "roles/{}".format(role_name) + role = "projects/{}/roles/{}".format(self.project, role_name.replace('-', '_')) else: role = "projects/{}/roles/{}".format(self.project, role_name.replace('-', '_')) params = { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@dlab.apache.org For additional commands, e-mail: commits-h...@dlab.apache.org