def METHOD_NAME(self, template_file):
    output_template_file = self.prepare_package(template_file=template_file)
    stack_name = "a" + str(uuid.uuid4()).replace("-", "")[:10]
    self.stack_names.append(stack_name)
    arguments = {
        "template_file": output_template_file,
        "capabilities": "CAPABILITY_IAM",
        "sam_stack_name": stack_name,
        "aws_stack_name": stack_name,
        "s3_prefix": "regress_deploy",
        "force_upload": True,
        "notification_arns": self.sns_arn,
        "parameter_overrides": "Parameter=Clarity",
        "kms_key_id": self.kms_key,
        "tags": "integ=true clarity=yes",
    }
    self.deploy_regression_check(arguments, sam_return_code=0, aws_return_code=0)