def on_before_transform_template(self, template):
pass<EOL>
Hook method to execute on "before_transform_template" life cycle event. Plugins are free to modify the
whole template, inject new resources, or modify certain sections of the template.

This method is called after the template passes basic structural validation. Template dictionary contains a
"Resources" object is not empty.

This method is free to change the contents of template dictionary. Take care to produce a valid SAM template.
Any bugs produced by plugins will be opaque to customers and create cryptic, hard-to-understand error messages
for customers.

:param dict template: Entire SAM template as a dictionary.
:return: nothing
:raises InvalidDocumentException: If the hook decides that the SAM template is invalid.