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

Add tag query to lambda_info module #375

Merged
merged 3 commits into from
Oct 27, 2021

Conversation

ngoduykhanh
Copy link
Contributor

SUMMARY

This PR to add tags query into the lambda_info module. It is helpful to be able to query the Lambda function's tag list so we can integrate future actions.
This PR also fix some missing parameter

ISSUE TYPE
  • Bugfix Pull Request
  • Feature Pull Request
COMPONENT NAME
  • lambda_info
ADDITIONAL INFORMATION

@ansibullbot
Copy link

@ansibullbot ansibullbot added bug This issue/PR relates to a bug community_review docs module module needs_triage new_contributor Help guide this first time contributor plugins plugin (any type) labels Jan 27, 2021
Copy link
Contributor

@tremble tremble left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ngoduykhanh

Thanks for taking the time to raise this PR. I apologise for the delay in getting this reviewed.

A few things:

  1. Rather than adding the max_items and next_marker parameters it's generally better to use the boto3 paginators (see https://github.com/ansible-collections/community.aws/pull/442/files for an example)
  2. Please add a changelog fragment: https://docs.ansible.com/ansible/latest/community/development_process.html#changelogs-how-to
  3. Please update the integration tests to include some examples of setting/fetching tags (tests/integration/targets/lambda/tasks/main.yml)

There's also no need to update docs/community.aws.lambda_info_module.rst this will get updated automatically when we push the next release.

@ansibullbot ansibullbot added needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR and removed community_review labels Mar 16, 2021
@tremble
Copy link
Contributor

tremble commented Oct 24, 2021

I've rebased this PR and added a changelog and minimal integration test.

mattclay/aws-terminator#176

Only thing blocking this PR is some permissions in CI

@ansibullbot
Copy link

@ansibullbot ansibullbot added community_review integration tests/integration tests tests and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Oct 24, 2021
@jillr
Copy link
Collaborator

jillr commented Oct 26, 2021

recheck

@tremble tremble added the gate label Oct 27, 2021
Copy link
Contributor

@ansible-zuul ansible-zuul bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ansible-zuul ansible-zuul bot merged commit 5235a3b into ansible-collections:main Oct 27, 2021
alinabuzachis pushed a commit to alinabuzachis/community.aws that referenced this pull request May 25, 2022
…s#598)

 ec2_vpc_subnet: Add support for OutpostArn param 

SUMMARY

Added support for OutpostArn param in ec2_vpc_subnet.

Fixes ansible-collections#375 .
ISSUE TYPE


Feature Pull Request

COMPONENT NAME

ec2_vpc_subnet

Reviewed-by: Alina Buzachis <None>
Reviewed-by: Jill R <None>
Reviewed-by: None <None>
abikouo pushed a commit to abikouo/community.aws that referenced this pull request Oct 24, 2023
Add tag query to lambda_info module

SUMMARY

This PR to add tags query into the lambda_info module. It is helpful to be able to query the Lambda function's tag list so we can integrate future actions.
This PR also fix some missing parameter

ISSUE TYPE

Bugfix Pull Request
Feature Pull Request

COMPONENT NAME

lambda_info

ADDITIONAL INFORMATION

Reviewed-by: Mark Chappell <None>
Reviewed-by: Jill R <None>
Reviewed-by: None <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections@5235a3b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug community_review docs integration tests/integration module module new_contributor Help guide this first time contributor plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants