runway.cfngin.tokenize_userdata module

Resources to tokenize userdata.

runway.cfngin.tokenize_userdata.cf_tokenize(raw_userdata: str) List[str][source]

Parse UserData for Cloudformation helper functions.

It breaks apart the given string at each recognized function (see HELPERS global variable) and instantiates the helper function objects in place of those.


raw_userdata – Unparsed userdata data string.


A list of string parts that is useful when used with troposphere.Join() and troposphere.Base64() to produce userdata.