Ermine filling is made by cooking flour and sugar with milk to make a sweet paste. This paste is then whipped into softened butter until light and fluffy. The vanilla is added for flavoring.