https://github.com/rustyconover/cloudformation-yasnippet
AWS CloudFormation yasnippet generator
https://github.com/rustyconover/cloudformation-yasnippet
aws aws-cloudformation cloudformation emacs emacs-packages yasnippet
Last synced: about 1 year ago
JSON representation
AWS CloudFormation yasnippet generator
- Host: GitHub
- URL: https://github.com/rustyconover/cloudformation-yasnippet
- Owner: rustyconover
- License: mit
- Created: 2017-05-03T04:00:42.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-17T02:40:59.000Z (almost 9 years ago)
- Last Synced: 2025-03-19T20:59:34.671Z (about 1 year ago)
- Topics: aws, aws-cloudformation, cloudformation, emacs, emacs-packages, yasnippet
- Language: JavaScript
- Size: 68.4 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yasnippets for AWS CloudFormation
Are you tired of copy and pasting JSON schema when you want to write a CloudFormation template? Yes, me too.
AWS has decided to document the schema of CloudFormation here.
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.html
I decided to write a simple node.js script to change that specification into a collection of yasnippets.
If you don't want to run the generation script, just use the snippets directory directly in your .emacs.
```
(setq yas-snippet-dirs (append yas-snippet-dirs
'("~/Downloads/interesting-snippets")))
```
For these snippets to appear you must be using json-mode to edit the CloudFormation.