Any two or more public agencies may enter into agreements with each other for joint action pursuant to the provisions of §§ 50-6A-42 to 50-6A-51, inclusive. Each agreement shall specify its duration, the proportionate interest which each public agency shall have in the property, facilities, and privileges involved in the joint undertaking, the proportion of costs of operation, and other considerations, to be borne by each public agency, and such other terms as are deemed necessary or required by law. The agreement may also provide for amendments and termination; disposal of all or any of the property, facilities, and privileges jointly owned, prior to, or at such times as said property, facilities, and privileges, or any part thereof, cease to be used for the purposes provided in this chapter, or upon termination of the agreement; the distribution of the proceeds received upon any disposal, and of any funds or other property jointly owned and undisposed of; the assumption of payment of any indebtedness arising from the joint undertaking which remains unpaid upon the disposal of all assets or upon a termination of the agreement; and such other provisions as may be necessary or convenient.
SDCL 50-6A-44