[RPG] Can you use Major Creation to create the diamond dust required for Resurrection

pathfinder-1espell-componentsspells

I have a character who is able to cast major creation and resurrection. He has a CL of 15.

He starts by taking a really small piece of diamond (not enough to cast Resurrection), and casts major creation to make 15 cubic feet of diamond. I estimate that this diamond would be worth more than 10,000gp.
This diamond will last 150 minutes, which is more than is necessary to pulverize it into diamond powder and cast resurrection, using the created dust as component.

Is there something in this process that shouldn't work?

I am asking for RAW. I know this could be easily patched, which is what I expect my GM to do, but am curious about the rules.

Best Answer

No, Major Creation works like Minor Creation, which states:

Attempting to use any created object as a material component causes the spell to fail.

You can create your diamond dust, but that dust cannot be used as material component for spells. You could probably attempt to sell it, make some money, and then use it to buy non-magical diamond dust. But be careful to not get caught.