Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jatorcasso committed Jun 14, 2022
1 parent 255e94f commit 3ae5d64
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions changelogs/fragments/1239-lambda_info-return_list.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
minor_changes:
- lambda_info - add return key ``lambda_info`` which returns a list of dictionaries instead of the previously returned
``function``, which returned a dictionary of dictionaries (https://github.com/ansible-collections/community.aws/pull/1239).
- lambda_info - now returns basic configuration information of each lambda, regardless of query (https://github.com/ansible-collections/community.aws/pull/1239).

deprecated_features:
- lambda_info - The ``function`` return key returns a dictionary of dictionaries and has been deprecated. In release 6.0.0 this module will instead
return ``lambda_info`` which returns a list of dictionaries (https://github.com/ansible-collections/community.aws/pull/1239).
1 change: 1 addition & 0 deletions plugins/modules/lambda_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
returned: always
type: list
elements: dict
version_added: 3.4.0
contains:
lambda:
description: Information for specific lambda.
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/targets/lambda/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -605,4 +605,4 @@
iam_role:
name: '{{ lambda_role_name }}'
state: absent
ignore_errors: true
ignore_errors: true

0 comments on commit 3ae5d64

Please sign in to comment.