1. Short title This Act may be cited as the Relationship Lending Preservation Act of 2017 . 2. Qualified mortgage amendment (a) Definitions In this section— (1) the term affiliate has the meaning given the term in section 2(k) of the Bank Holding Company Act of 1956 ( 12 U.S.C. 1841(k) ); (2) the term Bureau means the Bureau of Consumer Financial Protection; (3) the terms community financial institution and Federal Home Loan Bank System have the meanings given those terms in section 2 of the Federal Home Loan Bank Act ( 12 U.S.C. 1422 ); (4) the term creditor has the meaning given that term in section 103 of the Truth in Lending Act ( 15 U.S.C. 1602 ); (5) the term Federal Home Loan Bank means a bank established under the authority of the Federal Home Loan Bank Act ( 12 U.S.C. 1421 et seq.); and (6) the term qualified mortgage has the meaning given the term in section 129C(b)(2)(A) of the Truth in Lending Act ( 15 U.S.C. 1639c(b)(2)(A) ). (b) Requirement To issue regulations Not later than 9 months after the date of enactment of this Act, the Bureau shall issue regulations that provide that the term qualified mortgage includes any mortgage loan that— (1) is extended by a creditor that— (A) together with its affiliates, has less than $10,000,000,000 in total consolidated assets; and (B) is a member of a Federal Home Loan Bank; (2) meets the requirements of clauses (i), (ii), (iv), (v), (vii), and (viii) of section 129C(b)(2)(A) of the Truth in Lending Act ( 15 U.S.C. 1639c(b)(2)(A) ); (3) is eligible to be purchased by a Federal Home Loan Bank pursuant to requirements established by the Federal Home Loan Bank, including underwriting and documentation requirements