Module Version

Learn how to define the version number of a module.

Defining a child module’s version number

As mentioned in the previous lesson,it’s recommended to explicitly set the acceptable version number for any child modules being invoked in order to prevent unexpected and unwanted changes. This is especially true if we’re not the ones maintaining the module.

The version number for a module is defined by using the version argument in the module block:

Get hands-on with 1200+ tech skills courses.