Skip to content

Commit

Permalink
f: apply
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjjung committed Dec 17, 2024
1 parent de10d21 commit 69c6ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tb_pulumi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def flatten(item: dict | list | ThunderbirdComponentResource | pulumi.Output | p
# pulumi.info(f'FOUND TCR: {item._name} -> {item.resources.values()}')
to_flatten = item.resources.values()
elif isinstance(item, pulumi.Output):
to_flatten = item.apply(lambda i: i)
to_flatten = item.apply(lambda i: flatten(i))
elif isinstance(item, pulumi.Resource):
# pulumi.info(f'FOUND RESOURCE: {item._name}, {str(item.__class__)}')
return [item]
Expand Down

0 comments on commit 69c6ac9

Please sign in to comment.