def METHOD_NAME(self, template_file):
    output_template_file = self.prepare_package(template_file=template_file)
    arguments = {
        "template_file": output_template_file,
        "capabilities": "CAPABILITY_IAM",
        "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=2, aws_return_code=2)