MPLv2 is file-based copyleft, and there are no restrictions on including it in a commercial work provided that changes to MPLv2-licensed files are accessible per the terms.
Indeed it’s something of a spiritual successor to CDDL which was designed precisely for that purpose (although reliable sources also say it was designed to be GPL-incompatible, so that is literally a he-said/she-said case).
Re:OpenTF Announces Fork of Terraform
by erincandescent on Sunday August 27, 2023 @02:31PM
(#37285358)
The CDDL is an MPLv1 derivative, so similarities should be unsurprising
A bunch of commercial software right now (cough I'm writing this on MacOS) uses BSD-licensed foundations.