Skip to content

Commit

Permalink
Add params to findinmap value
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Aug 27, 2024
1 parent 374d5f5 commit dc10286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cfnlint/template/transforms/_language_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def value(
):
for k, v in cfn.template.get("Mappings", {}).items():
if isinstance(v, dict):
if t_map[1].value(cfn) in v:
if t_map[1].value(cfn, params) in v:
t_map[0] = _ForEachValue.create(k)
mapping = v
break
Expand Down

0 comments on commit dc10286

Please sign in to comment.