aws / aws/aws-cdk

(aws-cdk-lib.Fn): Support Fn::ForEach

Open
#27,211 15 comments 43 reactions 0 assignees View on GitHub
@aws-cdk/core effort/medium feature-request p1
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

Fn::ForEach is a new function that is added to cloudformation.

### Use Case

Creating multiple resources based on Cloudformation template parameter. I'm deploying CDK generated templates to Service Cataloge.

### Proposed Solution

ForEach function in aws-cdk-lib.Fn

### Other Information

_No response_

### Acknowledgements

- [X] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

v2.96.2

### Environment details (OS name and version, etc.)

Any

Contributor guide

Open the contributing guide

Research direction

Start at the aws-cdk-lib.Fn entry point and review how existing CloudFormation functions are exposed. Confirm the implementation supports Fn::ForEach in CDK-generated templates and can be used for Service Catalog deployments; add or update coverage where the project tests Fn helpers.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.