You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/11/11 13:08:33 UTC
[incubator-datalab] branch DATALAB-2588 created (now db21bcc)
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a change to branch DATALAB-2588
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git.
at db21bcc [DATALAB-2588]: fixed aws billing bucket arguments definition
This branch includes the following new commits:
new db21bcc [DATALAB-2588]: fixed aws billing bucket arguments definition
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org
[incubator-datalab] 01/01: [DATALAB-2588]: fixed aws billing bucket
arguments definition
Posted by lf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2588
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit db21bcce38ab494a6186b750036f8dd8526a3f89
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Thu Nov 11 15:07:58 2021 +0200
[DATALAB-2588]: fixed aws billing bucket arguments definition
---
infrastructure-provisioning/src/general/scripts/aws/ssn_configure.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/infrastructure-provisioning/src/general/scripts/aws/ssn_configure.py b/infrastructure-provisioning/src/general/scripts/aws/ssn_configure.py
index bc16c24..efc3a75 100644
--- a/infrastructure-provisioning/src/general/scripts/aws/ssn_configure.py
+++ b/infrastructure-provisioning/src/general/scripts/aws/ssn_configure.py
@@ -105,13 +105,13 @@ if __name__ == "__main__":
ssn_conf['aws_security_groups_ids'] = os.environ['aws_security_groups_ids']
else:
ssn_conf['aws_security_groups_ids'] = datalab.meta_lib.get_security_group_by_name(ssn_conf['sg_name'])
- if 'aws_billing_bucket' in os.environ and os.environ['aws_billing_bucket'] == '':
+ if 'aws_billing_bucket' in os.environ and os.environ['aws_billing_bucket'] != '':
ssn_conf['billing_enabled'] = True
ssn_conf['aws_billing_bucket'] = os.environ['aws_billing_bucket']
else:
ssn_conf['billing_enabled'] = False
ssn_conf['aws_billing_bucket'] = 'None'
- if 'aws_report_path' in os.environ and os.environ['aws_report_path'] == '':
+ if 'aws_report_path' in os.environ and os.environ['aws_report_path'] != '':
ssn_conf['aws_report_path'] = os.environ['aws_report_path']
else:
ssn_conf['aws_report_path'] = ''
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org