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

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

commit 8b2e75979e852c39c21285a2e77334b46fa2383a
Author: Leonid Frolov <[email protected]>
AuthorDate: Mon Feb 27 12:48:33 2023 +0200

    Revert "[DATALAB-3109]: Disable check-in keys for AWS"
---
 infrastructure-provisioning/scripts/deploy_datalab.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/infrastructure-provisioning/scripts/deploy_datalab.py 
b/infrastructure-provisioning/scripts/deploy_datalab.py
index a791955d1..5a98b67e3 100644
--- a/infrastructure-provisioning/scripts/deploy_datalab.py
+++ b/infrastructure-provisioning/scripts/deploy_datalab.py
@@ -350,8 +350,8 @@ if __name__ == "__main__":
     parser = build_parser()
     args = parser.parse_args()
 
-#    if args.conf_cloud_provider == 'aws' and 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')
+    if args.conf_cloud_provider == 'aws' and 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')
 
     if not args.workspace_path:
         print("Workspace path isn't set, using current directory: 
{}".format(os.environ['PWD']))


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to