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/10/12 14:08:40 UTC

[incubator-datalab] 05/08: [DATALAB-2409]: fixed aws creds check

This is an automated email from the ASF dual-hosted git repository.

lfrolov pushed a commit to branch DATALAB-2409
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit bef2edcca9bbd9a669ee67074c3cb7f8f167e607
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Tue Oct 12 15:15:40 2021 +0300

    [DATALAB-2409]: fixed aws creds check
---
 infrastructure-provisioning/scripts/deploy_datalab.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infrastructure-provisioning/scripts/deploy_datalab.py b/infrastructure-provisioning/scripts/deploy_datalab.py
index 0cafbe6..f5a82be 100644
--- a/infrastructure-provisioning/scripts/deploy_datalab.py
+++ b/infrastructure-provisioning/scripts/deploy_datalab.py
@@ -328,7 +328,7 @@ if __name__ == "__main__":
     parser = build_parser()
     args = parser.parse_args()
 
-    if args.aws_secret_access_key or args.aws_access_key:
+    if args.aws_secret_access_key or args.aws_access_key and args.conf_cloud_provider == 'aws':
         if not (args.aws_secret_access_key and args.aws_access_key):
             sys.exit('Please provide both arguments: --aws_secret_access_key and --aws_access_key')
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org