Here are some of the built-in helpers available in the Lono DSL:
|content||Returns the script from the
|default_subnets||Returns Array of default Subnet Ids. Useful for config params.|
|default_vpc||Returns default VPC id. Useful for config params.|
|extract_scripts||Generates a script that can be included in user_data scripts to extract
|key_pairs||Returns Array of Key Pairs. You can pass it a pattern to filter for keypairs. IE:
|tags||Converts a standard Ruby hash to the CloudFormation key, value structure.|
|user_data||Returns the script from the
|user_data_script||Path location of the script to be used along with the
The built-in helpers are defined in this this source code file: dsl/builder/helpers/core_helper.rb.
You can also create your own helpers with Custom Helpers.
Pro tip: Use the <- and -> arrow keys to move back and forward.