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 80ec0df [DATALAB-2410]: added output
80ec0df is described below
commit 80ec0df0db64bfafe12e089b8c8267bf2dafa61f
Author: leonidfrolov <[email protected]>
AuthorDate: Thu Jun 10 17:09:12 2021 +0300
[DATALAB-2410]: added output
---
infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
index 90da962..9de4a2a 100644
--- a/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
+++ b/infrastructure-provisioning/terraform/bin/deploy/endpoint_fab.py
@@ -1067,8 +1067,10 @@ def init_args():
print('==========2')
print(parser.parse_known_args()[1])
args = parser.parse_known_args()[0]
- for value in args.__dict__:
- print(value)
+ for key, value in args.__dict__:
+ if key in ["secret_access_key", "access_key_id", "ldap_host",
"ldap_user", "ldap_bind_creds", "mongo_password", "mongo_host"]:
+ value = '********'
+ print(key+"="+value)
def update_system():
conn.sudo('apt-get update')
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]