Atom Packages Directory

a package directory for a text editor of the 21st Century

Cform Yaml

Install with:
    apm install atom-cform-yaml

atom-cform-yaml package

A package based on atom-cform to help Atom users create YAML AWS CloudFormation templates.

The package snippets are now derived automatically from the published AWS CloudFormation Resource Specification. This enables the snippets to be more complete but perhaps a little less helpful. Any comments on how to improve usability now that the snippets are auto-generated are welcomed.


30 seconds or less...


  1. Create an empty *.yaml file and type stack-start - a skeleton YAML CloudFormation template will appear.
  2. Under each section begin typing the ‘thing’ you are trying to define, such as stack-parameter, metadata-interface, or ec2-instance. The package will populate the template for you.
  3. Tab through the different fields and fill in your values.
  4. Save the template and run it through the AWS CloudFormation console or deploy the template using the AWS CLI.
  5. Have fun and get building!


Autocomplete doesn’t work?

If autocomplete doesn’t work for you it could be because of atom/autocomplete-snippets#55. autocomplete-snippets/pull/77 has been submitted to fix the issue but until it’s released you may have to make the change yourself. 1. Clone into a folder of your choosing. 2. Change the files as documented in autocomplete-snippets/pull/77. 3. cd into the autocomplete-snippets folder and run apm link .. This will create a link inside ~/.atom/packages to the folder in which you download autocomplete-snippets. 4. Reload the Atom window. 5. In Atom go to Preferences..., Packages, search for autocomplete-snippets. Click on Settings 6. Remove .string from Disable Snippet Autocompletion Selector String. 7. Reload the Atom window.

Uninstall fixed version of autocomplete-snippets 1. Run apm unlink ~/.atom/packages/atom-cform-yaml 2. Reload the Atom window


Keywords: yaml, aws, cloudformation Suggest keywords
Fork me on GitHub