-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fn::Size intrinsic template function #61
Comments
@josb Thank you very much for your feedback! Since this repository is focused on resource coverage, I'm transferring this issue over to a new GitHub repository dedicated to CloudFormation template language issues. |
@josb Thanks for bringing this to our attention. Stay tuned for updates! |
Hi all, we have opened an RFC (here) to address this use case. Any feedback is welcome. |
Thanks to all helping to submit this RFC! |
Hello @lejiati, we'll try the new function, thanks for making this happen! |
|
Scope of request
AWS CloudFormation templates.
Expected behavior
Fn::Size
should return the number of elements in a list (the result ofFn::Split
, or aCommaDelimitedList
parameter).Test case recommendation
If you combine this with the
Fn::Split
function it will allow you to see how many items were entered when someone has aCommaDelimitedList
parameter, which is helpful when it comes to Conditionals:{ "Fn::Size" : { "Fn::Split" : [ "delimiter", "source string" ] } }
Links to existing API doc
https://www.kencochrane.net/2017/03/25/my-cloudformation-wishlist/
Category
The text was updated successfully, but these errors were encountered: