AWS CloudFormation Limits
Your AWS account has AWS CloudFormation limits that you might need to know when authoring templates and creating stacks. By understanding these limits, you can avoid limitation errors that would require you to redesign your templates or stacks.
AWS CloudFormation limits
|
Limit |
Description |
Value |
Tuning Strategy |
|---|---|---|---|
|
Maximum amount of data that cfn-signal can pass. |
4,096 bytes |
To pass a larger amount, send the data to an Amazon S3 bucket, and then use cfn-signal to pass the Amazon S3 URL to that bucket. | |
|
Maximum amount of data that a custom resource provider can pass. |
4,096 bytes | ||
|
Maximum number of mappings that you can declare in your AWS CloudFormation template. |
100 mappings |
To specify more mappings, separate your template into multiple templates by using, for example, nested stacks. | |
| Maximum number of mapping attributes for each mapping that you can declare in your AWS CloudFormation template. |
64 attributes |
To specify more mapping attributes, separate the attributes into multiple mappings. | |
|
Maximum size of each mapping name. |
255 characters | ||
|
Maximum number of outputs that you can declare in your AWS CloudFormation template. |
60 outputs | ||
|
Maximum size of an output name. |
255 characters | ||
|
Maximum number of parameters that you can declare in your AWS CloudFormation template. |
60 parameters |
To specify more parameters, you can use mappings or lists in order to assign multiple values to a single parameter. | |
|
Maximum size of a parameter name. |
255 characters | ||
|
Maximum size of a parameter value. |
4,096 bytes |
To use a larger parameter value, create multiple parameters and then use
| |
|
Maximum number of resources that you can declare in your AWS CloudFormation template. |
200 resources |
To specify more resources, separate your template into multiple templates by using, for example, nested stacks. | |
|
Maximum size of a resource name. |
255 characters | ||
|
Maximum number of AWS CloudFormation stacks that you can create. |
200 stacks |
To create more stacks, delete stacks that you don't need or request an increase in the maximum number of stacks in your AWS account. For more information, see AWS Service Limits in the AWS General Reference. | |
|
Maximum size of a template body that you can pass in a
|
51,200 bytes |
To use a larger template body, separate your template into multiple templates by using, for example, nested stacks. Or upload the template to an Amazon S3 bucket. | |
|
Maximum size of a template body that you can pass in an Amazon S3 object for a
|
460,800 bytes |
To use a larger template body, separate your template into multiple templates by using, for example, nested stacks. | |
|
Maximum size of a template description. |
1,024 bytes |

