From da01f4bc2a11c3fd68a4f9ed3b03ba63be3500cc Mon Sep 17 00:00:00 2001 From: Alejandro Lopez Date: Thu, 11 May 2023 15:08:16 +0300 Subject: [PATCH] [#59] Revert scheme to http for s3 cli script Signed-off-by: Alejandro Lopez --- scenarios/preset/helpers/aws_cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scenarios/preset/helpers/aws_cli.py b/scenarios/preset/helpers/aws_cli.py index a9a83f8..a0ecb62 100644 --- a/scenarios/preset/helpers/aws_cli.py +++ b/scenarios/preset/helpers/aws_cli.py @@ -11,9 +11,9 @@ def create_bucket(endpoint, versioning, location): bucket_name = str(uuid.uuid4()) cmd_line = f"aws --no-verify-ssl s3api create-bucket --bucket {bucket_name} " \ - f"--endpoint https://{endpoint} {location}" + f"--endpoint http://{endpoint} {location}" cmd_line_ver = f"aws --no-verify-ssl s3api put-bucket-versioning --bucket {bucket_name} " \ - f"--versioning-configuration Status=Enabled --endpoint https://{endpoint} " + f"--versioning-configuration Status=Enabled --endpoint http://{endpoint} " out, success = execute_cmd(cmd_line) @@ -40,7 +40,7 @@ def upload_object(bucket, payload_filepath, endpoint): object_name = str(uuid.uuid4()) cmd_line = f"aws --no-verify-ssl s3api put-object --bucket {bucket} --key {object_name} " \ - f"--body {payload_filepath} --endpoint https://{endpoint}" + f"--body {payload_filepath} --endpoint http://{endpoint}" out, success = execute_cmd(cmd_line) if not success: