It will work as is, but a true 900 one will work a little better in the midrange.
We ran 800 CDIs on our 900s for quite a while before we got them all switched over.
There are also at least 4 different 900 CDIs, but I think only 2 different timing curves. The ZR CDI has 2 degrees less timing on the top end than the Mountain version.