-
Notifications
You must be signed in to change notification settings - Fork 397
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
ec2_vpc_nat_gateway_info: module stabilization #472
ec2_vpc_nat_gateway_info: module stabilization #472
Conversation
790de8b
to
1ba6c6c
Compare
1ba6c6c
to
b17f9d7
Compare
6034b59
to
4383fc9
Compare
4383fc9
to
f866457
Compare
48f87e2
to
1551011
Compare
2d23cb1
to
53d0b73
Compare
53d0b73
to
05988db
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 small notes otherwise this looks really good. Thanks @alinabuzachis!
@@ -122,7 +196,7 @@ def get_nat_gateways(client, module, nat_gateway_id=None): | |||
def main(): | |||
argument_spec = dict( | |||
filters=dict(default={}, type='dict'), | |||
nat_gateway_ids=dict(default=[], type='list', elements='str'), | |||
nat_gateway_ids=dict(default=[], type='list', elements='str') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep the trailing comma here. By having a comma already on the last item in this dict, the next time someone adds an option to the module they won't have to add it to this line which reduces the number of lines in the diff when someone reviews it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jillr Thank you for reviewing. I added the trailing comma.
d857003
to
500be22
Compare
* Catches and handles (botocore.exceptions.BotoCoreError, botocore.exceptions.ClientError) on boto API calls * Add paginator * Document returned data Signed-off-by: Alina Buzachis <[email protected]>
Signed-off-by: Alina Buzachis <[email protected]>
Signed-off-by: Alina Buzachis <[email protected]>
8f974e0
to
7a01a0a
Compare
* ec2_vpc_nat_gateway_info: stability * Catches and handles (botocore.exceptions.BotoCoreError, botocore.exceptions.ClientError) on boto API calls * Add paginator * Document returned data Signed-off-by: Alina Buzachis <[email protected]>
…lections#472) * ec2_vpc_nat_gateway_info: stability * Catches and handles (botocore.exceptions.BotoCoreError, botocore.exceptions.ClientError) on boto API calls * Add paginator * Document returned data Signed-off-by: Alina Buzachis <[email protected]> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections@b0f438b
* ec2_vpc_nat_gateway_info: stability * Catches and handles (botocore.exceptions.BotoCoreError, botocore.exceptions.ClientError) on boto API calls * Add paginator * Document returned data Signed-off-by: Alina Buzachis <[email protected]>
* ec2_vpc_nat_gateway_info: stability * Catches and handles (botocore.exceptions.BotoCoreError, botocore.exceptions.ClientError) on boto API calls * Add paginator * Document returned data Signed-off-by: Alina Buzachis <[email protected]>
* ec2_vpc_nat_gateway_info: stability * Catches and handles (botocore.exceptions.BotoCoreError, botocore.exceptions.ClientError) on boto API calls * Add paginator * Document returned data Signed-off-by: Alina Buzachis <[email protected]>
* ec2_vpc_nat_gateway_info: stability * Catches and handles (botocore.exceptions.BotoCoreError, botocore.exceptions.ClientError) on boto API calls * Add paginator * Document returned data Signed-off-by: Alina Buzachis <[email protected]> This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections@b0f438b
aws_secret: Handle pagination for bypath=true Depends-On: ansible/ansible-zuul-jobs#1359 Depends-On: ansible/ansible-zuul-jobs#1362 Depends-On: ansible/ansible-zuul-jobs#1364 SUMMARY Currently aws_secret returns only 10 secrets, added manual pagination for getting all the secrets as per the task. Fixes ansible-collections#472. ISSUE TYPE Bugfix Pull Request COMPONENT NAME aws_secret Reviewed-by: Alina Buzachis <None> Reviewed-by: Joseph Torcasso <None>
SUMMARY
ec2_vpc_nat_gateway_info module stabilization and cleanup
COMPONENT NAME
ADDITIONAL INFORMATION
ec2_vpc_nat_gateway_info