The local agency, by contract made with another public agency or with a public utility, may provide for the construction, installation, or ownership of any improvements or for the furnishing of maintenance or service for any improvements. Any contract with another public agency shall be made in compliance with all laws applicable to the other public agency and to the local agency. Any contract with a public utility shall be made in compliance with and subject to all tariffs, rules, and rate schedules of the public utility on file with and approved by the Public Utilities Commission. Except as otherwise provided in this section, a contract may contain such provisions as may be agreed upon by the local agency and the other public agency or the public utility, as the case may be.
Ca. Pub. Cont. Code § 20897