You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like to request support for intrinsic functions for the condition name.
Tell us about the problem you are trying to solve. What are you trying to do, and why is it hard?
Trying to use Fn::If within Fn::ForEach to reference a condition but CloudFormation returns Transform AWS::LanguageExtensions failed with: Fn::If layout is incorrect
I've hit this problem too and the AWS Support Engineer has just pointed me here. They are investigating further.
BTW I've tried some variations of syntax including replacing !Sub with !Join, with no luck.
I've encountered the same issue. Surprised they have not fixed this over the last 2 months. Seems like an oversight on their part. The fact that the transformation is generating an error means it is looking at the yaml and just doesn't like what it sees. Surely this should be fairly simple to fix.
Community Note
Tell us about your request
Re: Transform AWS::LanguageExtensions failed with: Fn::If layout is incorrect #135
We would like to request support for intrinsic functions for the condition name.
Tell us about the problem you are trying to solve. What are you trying to do, and why is it hard?
Trying to use Fn::If within Fn::ForEach to reference a condition but CloudFormation returns
Transform AWS::LanguageExtensions failed with: Fn::If layout is incorrect
Docs state that Fn::If is supported within Fn::ForEach.
Are you currently working around this issue?
Hardcoding condition name.
What is the expected behavior with this new feature
Example template of ideal use case:
The text was updated successfully, but these errors were encountered: