Jos Backus

Results 64 comments of Jos Backus

Would it be out of scope for this intrinsic function to also return the number of characters | bytes | codepoints when passed a single string instead of a list?

Some resource identifiers are limited in length; this would allow logic to be written to mitigate situations where resources would otherwise produce errors (e. g. the logic could construct shorter...

I'm not sure what a general-purpose solution to that problem would look like, sorry. That said, it would appear that a way to do numeric size comparisons in `!If` (beyond...

Good suggestions, @benbridts. This function, as I originally intended it to be used, would be more useful if (numeric) comparison operators were available besides `!Equals`. Sigh.

@MalikAtalla-AWS I filed https://github.com/aws-cloudformation/cfn-language-discussion/issues/80 to add comparison functions which can be used in combination with Fn::Length and possibly other constructs.

I, too, was surprised that to use the new functions one needs a transform. That certainly wasn't my intention, as transforms have their own issues, as @bjorg alludes to. I...

If we leave things as-is, it introduces an inconsistency regarding these new functions. To be clear, I'm not a fan of moving all functions into the transform, in fact I...

@jlhood will the new functions be migrated to the native template processor after a suitable soaking period? The long-term split between the native and transform-based template processor seems unfortunate, in...

As an aside, my pet peeve with the "View processed template" feature of the CloudFormation console is that there's no choice between JSON and YAML.

Excellent, thanks @jlhood! Of course I am grateful regardless for your work on new functions, it's great to see activity in this space. 👍 to you and the team!