A collection of useful CloudFormation templates
Use sample AWS CloudFormation templates to learn how to declare specific AWS resources or solve a particular use case. We recommend that you use sample templates as a starting point for creating your own templates, not for launching production-level environments. Before launching a template, always review the resources that it will create and the permissions it requires.
The AWS CloudFormation team and approved contributors provide and maintain
sample templates in the aws
folder.
We also collect and make available templates developed by the community. These
sample templates are located in the community
folder and its subfolders. We
encourage your contributions to these templates. Note, however, that we don't
test, maintain, or support community templates.
Join us on Discord to discuss rain and all things CloudFormation! Connect and interact with CloudFormation developers and experts, find channels to discuss rain, the CloudFormation registry, StackSets, cfn-lint, Guard and more:
Before you submit a template, we suggest that you follow these guidelines to help maintain consistency between templates.
ValidateTemplate
API to check
your template. When you delete a stack, is the stack (and all of its
resources) successfully deleted? Make sure users aren't left with stray
resources or stacks that have deletion errors.a local MySQL database for storage. This template demonstrates using the AWS
CloudFormation bootstrap scripts to install the packages and files necessary
to deploy the Apache web server, PHP, and MySQL when the instance is
launched."
When your template is ready, submit a pull request. A member of the AWS organization will review your request and might suggest changes. We review templates to check for general security issues, but we won't test or maintain them. If we don't get back to you within a week of your submission, use your pull request to send us a message.
In the AWS CloudFormation User Guide, you can view more information about the following topics: