This CloudFormation Snippets extension equips Visual Studio Code with JSON and YAML snippets for all AWS CloudFormation and SAM resources - over 1250+ in total. It's your complete toolset for efficient CloudFormation template development.
[!TIP]
Struggling with AWS complexity or stuck on-premise? Let's transform your cloud journey.
Schedule a call with me to find out how I can enhance your existing AWS setup or guide your journey from on-premise to the Cloud.
☁️ Discover more about my one-person business: Towards the Cloud
Hi, I'm Danny – AWS expert and founder of Towards the Cloud. With over a decade of hands-on experience, I specialized myself in deploying well-architected, highly scalable and cost-effective AWS Solutions using Infrastructure as Code (IaC).
When you work with me, you're getting a package deal of expertise and personalized service:
- AWS CDK Proficiency: I bring deep AWS CDK knowledge to the table, ensuring your infrastructure is not just maintainable and scalable, but also fully automated.
- AWS Certified: Equipped with 7 AWS Certifications, including DevOps Engineer & Solutions Architect Professional, to ensure best practices across diverse cloud scenarios.
- Direct Access: You work with me, not a team of managers. Expect quick decisions and high-quality work.
- Tailored Solutions: Understanding that no two businesses are alike, I Custom-fit cloud infrastructure for your unique needs.
- Cost-Effective: I'll optimize your AWS spending without cutting corners on performance or security.
- Seamless CI/CD: I'll set up smooth CI/CD processes using GitHub Actions, making changes a breeze through Pull Requests.
My mission is simple: I'll free you from infrastructure headaches so you can focus on what truly matters – your core business.
Ready to unlock the full potential of AWS Cloud?
Features
- Comprehensive Coverage: Offers snippets for all AWS CloudFormation and AWS SAM resources available - that's over 1250+ resources snippets at your fingertips!
- Complete Property Support: Includes all nested properties for each resource, ensuring you have access to every configurable aspect of your AWS resources.
- Documentation Hover Links: Quickly access AWS CloudFormation resource and property documentation by hovering over resource types and property names in your templates.
- Flexible Template Support: Seamlessly works with both YAML and JSON CloudFormation templates.
- Efficient Autocomplete: Simply type the resource name (e.g.,
ec2-instance
) to instantly load the corresponding snippet for AWS::EC2::Instance
.
- Rich Feature Set: Incorporates intrinsic functions, conditions, and diverse parameter types for robust template creation.
- Enhanced Navigation: Features placeholders that enable swift movement through resource properties.
- Resource Documentation: Each snippet is linked to its official AWS documentation, providing quick access to detailed information.
- Up-to-Date: Regularly refreshed on a weekly basis to reflect the latest CloudFormation Resource Specification.
- Gitpod Ready: Made available on the Open VSX Registry to ensure compatibility with Gitpod.
Usage
- Install the CloudFormation Snippets extension in VS Code.
- Create a new
.yml
or .json
file.
- Ensure the file type is set to "YAML" or "JSON" in the bottom right corner of VS Code.
- Type cfn to insert the basic CloudFormation template structure.
- Add resources using their short prefix (e.g.
s3-bucket
for AWS::S3::Bucket
).
Example of auto-completion in action:
and an example of the hover information:
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).
We've developed the AWS CloudFormation Starterkit to streamline your infrastructure setup using CloudFormation.
It comes with pre-configured templates, automated validation scripts, and seamless integration with CI/CD pipelines, you'll be able to deploy robust, scalable, and secure AWS environments with ease.
The starterkit empowers you to adopt best practices effortlessly. By leveraging tools like Checkov for security compliance and cfn-lint for template validation, you ensure that your infrastructure is both reliable and secure.
Support
If you have a feature request or an issue, please let me know on Github
Author
Danny Steenman