-
Notifications
You must be signed in to change notification settings - Fork 403
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_route_table: Don't fail if a route was already created. #359
ec2_vpc_route_table: Don't fail if a route was already created. #359
Conversation
Build fails with a request limit issue:
Wonder if my change did anything in this regard, or if we have to fix existing tests to pause between AWS requests (i.e. module executions) |
Hi @stefanhorning, thank you for your contribution. May you kindly add a changelog https://docs.ansible.com/ansible/latest/community/development_process.html#changelogs and rebase? In addition, it would also be good if you could add a functional test to make sure the change is working correctly. If you need any help please feel free to reach us on IRC #ansible-aws. |
fe73fd1
to
d8d800e
Compare
Hi @stefanhorning, sorry for the delay in looking into this PR. The PR looks sensible enough. To reduce the risk of someone accidentally introducing a regression, if possible please could you rebase and update the test suite to include an example of testing this specific case. I tried reproducing the issue and wasn't able to, so I'm not sure what the procedure to trigger the issue is:
|
Agreed - change looks good but a test would be helpful. |
1792c02
to
a773eb2
Compare
Rebased now. Will look into tests later. |
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.
I have a vague memory of seeing the 'RouteAlreadyExists' in the integration tests before and that is seemed to be caused by the describe call misbehaving (which has been fixed by switching to a paginated lookup). In the interest of getting this fix in I'm going to get this merged and add a basic test in #496.
…ted. (ansible-collections#359) This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections@73d60e5
``aws_s3`` copy to object SUMMARY add option to aws_s3 module to copy object existing on Amazon S3 Closes: ansible-collections#42 ISSUE TYPE Feature Pull Request COMPONENT NAME aws_s3 ADDITIONAL INFORMATION - name: copy from source to destination aws_s3: bucket: "{{ dest }}" mode: copy object: destination.txt copy_src: bucket: "{{ src }}" object: source.txt Reviewed-by: Alina Buzachis <None> Reviewed-by: Jill R <None> Reviewed-by: Gonéri Le Bouder <goneri@lebouder.net>
…ble-collections#359) This commit was initially merged in https://github.com/ansible-collections/community.aws See: ansible-collections@73d60e5
SUMMARY
Fixes #357
ISSUE TYPE
COMPONENT NAME
ec2_vpc_route_table
ADDITIONAL INFORMATION
Catches error if route already exists. Not sure if all params get compared though for that exception to happen.