def METHOD_NAME(deploy_cfn_template, aws_client, snapshot):
    stack = deploy_cfn_template(
        template_path=os.path.join(
            os.path.dirname(__file__), "../../../templates/ssm_patch_baseline.yml"
        ),
    )
    describe_resource = aws_client.cloudformation.describe_stack_resource(
        StackName=stack.stack_name, LogicalResourceId="myPatchBaseline"
    )["StackResourceDetail"]
    snapshot.add_transformer(snapshot.transform.cloudformation_api())
    snapshot.add_transformer(
        snapshot.transform.key_value("PhysicalResourceId", "physical_resource_id")
    )
    snapshot.match("patch_baseline", describe_resource)