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: