This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2410
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
The following commit(s) were added to refs/heads/DATALAB-2410 by this push:
new bc69cb6 [DATALAB-2410]: changed output
bc69cb6 is described below
commit bc69cb62b6f4c053828627c10584386e0f114e04
Author: leonidfrolov <[email protected]>
AuthorDate: Thu Jun 10 16:24:49 2021 +0300
[DATALAB-2410]: changed output
---
infrastructure-provisioning/terraform/bin/datalab.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/infrastructure-provisioning/terraform/bin/datalab.py
b/infrastructure-provisioning/terraform/bin/datalab.py
index c25c0a6..26756e8 100644
--- a/infrastructure-provisioning/terraform/bin/datalab.py
+++ b/infrastructure-provisioning/terraform/bin/datalab.py
@@ -107,9 +107,9 @@ def get_var_args_string(cli_args):
args = extract_args(cli_args)
args_plain = ["-var '{0}={1}'".format(key, value) for key, value in args]
for key, value in args:
- print(key + '=' + value)
if key in ["secret_access_key", "access_key_id", "ldap_host",
"ldap_user", "ldap_bind_creds", "mongo_password"]:
value = '*****'
+ print(key + '=' + value)
args_hidden = []
args_hidden.append("-var '{0}={1}'".format(key, value))
logging.info(' '.join(args_hidden))
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]