Skip to content
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::FindInMap] - [Coverage] - Add support for intrinsic functions such as Fn::Join #2034

Open
Waqiah opened this issue May 7, 2024 · 0 comments
Labels

Comments

@Waqiah
Copy link

Waqiah commented May 7, 2024

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

@Waqiah Waqiah added the Coverage label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant