Accelerate your CloudFormation authoring experience with looping function
News
This article announces the general availability of Fn::ForEach, a new CloudFormation intrinsic function that enables template looping and replication.
- Fn::ForEach allows replicating template sections with minimal code
- Reduces human errors from manual property updates and duplications
- Requires AWS::LanguageExtensions transform declaration
- Works in Resources, properties, Conditions, and Outputs sections
- Supports nested loops and combination with other intrinsic functions
- Available in all AWS Regions where CloudFormation is supported
Fn::ForEach simplifies CloudFormation template authoring by enabling efficient resource replication and reducing code duplication and errors.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.