From time to time, I’ve needed to have a default set of Taxonomy terms created at the same time as a content type, as in the case of a field with a required Taxonomy term reference, using a Taxonomy that is not ‘free tag’ style.
Instead of requiring someone to go in and manually add all the terms after code is deployed, you can add terms in a custom plugin’s update hook, like so:
Source: New feed