LanguageExtensions

The AWS::LanguageExtensions Transform

AWS 24 ::LanguageExtensions is an AWS-hosted macro that resolves the functions Fn::ForEach listed and returns plain CloudFormation 24 . Its rules are what trip people up:

It also allows functions where literals are required, such as a computed Fn::GetAtt target (ForEach and ToJsonString) or a DeletionPolicy from a parameter, which made LocalStack 4.13.1 63,725 's CreateChangeSet fail with InternalError. cfn-lint 2,641 expands Fn::ForEach first, so BillingMode: ON_DEMAND in a loop body is reported as E3030 at its line.