Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Fn::ForEach #271

Open
dhutchison opened this issue Sep 13, 2023 · 3 comments
Open

Add support for Fn::ForEach #271

dhutchison opened this issue Sep 13, 2023 · 3 comments
Labels
enhancement New feature or request minor A new feature has been added.

Comments

@dhutchison
Copy link
Collaborator

New intrinsic function: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-foreach-example-resource.html

Allowed to be used in Conditions, Outputs & Resources. The documentation links to examples which helpfully includes input/output examples which we could use for testing the conversion.

@dhutchison dhutchison added enhancement New feature or request minor A new feature has been added. labels Sep 13, 2023
@shadycuz
Copy link
Member

I dont think this is available until you turn on Transforms? Or maybe they did away with that?
https://aws.amazon.com/blogs/devops/exploring-fnforeach-and-fnfindinmap-enhancements-in-aws-cloudformation/

@dhutchison
Copy link
Collaborator Author

I think you are right, pretty sure I saw it in the docs.

Not really looked into it at all, just popped in to my head as I was discussing a use case today where it might come in useful in the future.

@shadycuz
Copy link
Member

Today I am starting work on the ability to support transforms, sponsored by my current employer 😎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor A new feature has been added.
Projects
None yet
Development

No branches or pull requests

2 participants