Skip to content

Commit feed813

Browse files
authored
GetAtt can return objects as well (#2709)
1 parent 548ac3f commit feed813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cfnlint/decode/node.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def is_function_returning_object(self, mappings=None):
9696
if isinstance(p_v, dict):
9797
if len(p_v) == 1:
9898
for l_k in p_v.keys():
99-
if l_k == "Fn::FindInMap":
99+
if l_k in ["Fn::FindInMap", "Fn::GetAtt"]:
100100
return True
101101

102102
return False

0 commit comments

Comments
 (0)