Adds autocompletion for all AWS CloudFormation resources. The snippets are updated automatically every week by fetching the data from the official AWS CloudFormation resource specification.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Added a placeholder functionality so you can quickly jump to the next placeholder in the properties section with Tab.
Added matching documentation URLs in the description of every resource type.
Features
This extension contains snippets for all available CloudFormation resources
CloudFormation autocompletion for every resource (includes properties).
Automatically updated every week after AWS updates their CloudFormation Resource Specification.
Intrinsic functions + conditions are supported.
Contains a whole bunch of parameter types.
Quickly update the properties of each resource type using Tab.
Every resource type contains the matching documentation URL in its description.
Usage
Step 1. Install this extension
Step 2. create a .yml file to start working on CloudFormation
Step 3. Check in the bottom right-hand corner of the VS Code editor that the file type is listed as "YAML".
Step 4. To start with the basic template structure, type cfn to get the YAML formatted template fragment.
Step 5. Start adding resources in the resource section by using their prefix name e.g. autoscaling-autoscalinggroup equals resource type AWS::AutoScaling::AutoScalingGroup
Note: Once you start typing a prefix (explained in step 5), the corresponding snippet will show up in the dropdown menu. If this doesn't happen automatically, press ctrl + space to invoke IntelliSense and search for the prefix of the resource type that you want to add (as listed in step 5).
Support
If you have a feature request or an issue, please let me know on Github
Tips and tricks
If you want to boost your productivity even more with VS Code and CloudFormation. Have a look at this article that I wrote to help you level up your CloudFormation templating game!