Giter Club home page Giter Club logo

cfn-yaml's Introduction

#cfn-yaml: #YAML CloudFormation Template Snippet Set for Sublime Text 3

cfn-yaml is a sublime text 3 package of snippets for cloudfront yaml syntax.

The snippet set is created from the AWS documentation as the master defintion for the YAML content and includes a comment within each snippet referencing back to the AWS Reference documentation pages for easy right-click opening of the documentation related to the snippet. This is obviously included to make it quick and easy to get back to the documentation related to the function being configured.

To activate snippets once installed, simply ensure your document type is set to YAML or CloudFormation (CForm) and type cfn.

This snippet set was inspired by cform package that provides a full snippet set for json based cloudformation APIs.

Should you wish to remove the documentation links after you've finished creating your template, then simply do a search and replace with regex enabled finding #AWS-DOC.*\n and replace with nothing

Usage:

# Easiest way to get to use these snippets is simply to clone this repo into your 
# Sublime Text 3 User Packages folder.

cd ~/.config/sublime-text-3/Packages/User
git clone https://github.com/Narrowbeam/cfn-yaml.git

Please note that while this was a work in progress, it does provide a fairly full set of snippets. Since I created this collection, i've taken the decision for various reasons to migrate towards vscode as my default editor, so won't be updating this repo going forwards. I may however write a more generic snippet generator for aws resources following AWS releasing the resource api spec in machine readable json format. No more crawling the documentation set to build the snippets. If I do this, I will produce snippets for sublime as well as vscode; Until then, hope this remains fairly up to date.

If you find any issues or want to expand the snippet set, just create a pull request :-)

cfn-yaml's People

Contributors

narrowbeam avatar sliedig avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cfn-yaml's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.