This is an automated email from the ASF dual-hosted git repository. mykolabodnar pushed a commit to branch DLAB-1711 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 5721ffa48bf10f7743e7842466e10b6432d5355d Author: bodnarmykola <[email protected]> AuthorDate: Wed Apr 15 11:01:35 2020 +0300 [DLAB-1711]: [GCP] Bucket tags with key 'name' added --- .../src/general/scripts/gcp/project_prepare.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py b/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py index 47b6cde..f9822a0 100644 --- a/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py +++ b/infrastructure-provisioning/src/general/scripts/gcp/project_prepare.py @@ -398,7 +398,8 @@ if __name__ == "__main__": project_conf['tag_name']: project_conf['shared_bucket_name'], "endpoint_tag": project_conf['endpoint_tag'], os.environ['conf_billing_tag_key']: os.environ['conf_billing_tag_value'], - "sbn": project_conf['service_base_name']} + "sbn": project_conf['service_base_name'], + "name": project_conf['shared_bucket_name']} params = "--bucket_name {} --tags '{}'".format(project_conf['shared_bucket_name'], json.dumps(project_conf['shared_bucket_tags'])) try: @@ -412,7 +413,8 @@ if __name__ == "__main__": "endpoint_tag": project_conf['endpoint_tag'], os.environ['conf_billing_tag_key']: os.environ['conf_billing_tag_value'], "sbn": project_conf['service_base_name'], - "project_tag": project_conf['project_tag']} + "project_tag": project_conf['project_tag'], + "name": project_conf['bucket_name']} params = "--bucket_name {} --tags '{}'".format(project_conf['bucket_name'], json.dumps(project_conf['bucket_tags'])) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
