aws-cloudformation / cloudformation-coverage-roadmap

The AWS CloudFormation Public Coverage Roadmap
https://aws.amazon.com/cloudformation/
Creative Commons Attribution Share Alike 4.0 International
1.1k stars 53 forks source link

[Fn::FindInMap] - [Coverage] - Add support for intrinsic functions such as Fn::Join #2034

Open Waqiah opened 1 month ago

Waqiah commented 1 month ago

Name of the resource

AWS::ElasticLoadBalancingV2::LoadBalancer

Resource name

Fn::FindInMap

Description

Request for intrinsic functions to be supported in the FindInMap function. Even though we can reference parameters in the function, it is not possible to customize the parameters of the FindInMap function, for example, allowing the appending of characters to a value in a parameter as shown below in the third parameter: !FindInMap [parameter1, !Ref parameter2, !Ref parameter3,"appendedLetters"] Unable to use !Join as it is not supported in FindInMap: !FindInMap [parameter1, !Ref parameter2, !Join [“”,[!Ref parameter3,“appendedLetters”]]]

The following error occurs: Template error: every Fn::FindInMap object requires three parameters, the map name, map key and the attribute for return value

Other Details

No response