-
Notifications
You must be signed in to change notification settings - Fork 343
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_vol: Add support for OutpostArn param #597
ec2_vol: Add support for OutpostArn param #597
Conversation
@mandar242 Thank you for working on this. The main issue with AWS Outpost is that we cannot test it at the moment. I would suggest to kindly ask @hferreira23 for testing this feature if possible. |
I'm on vacation right now :) Once I go back to the office (where I have access to an Outpost), I'll try this patch. |
@alinabuzachis @mandar242, sorry that took me a while but from what I could test it seems to work as we hope. I created the volume in the Outpost just fine. |
No problem! Thank you for testing it! |
Build failed.
|
Build failed.
|
Build failed.
|
Build succeeded.
|
Build succeeded.
|
tests/unit/module_utils/test_ec2.py
Outdated
# ec2.is_outposts_arn | ||
# ======================================================== | ||
|
||
@parametrize( |
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.
Use @pytest.mark.parametrize
instead.
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.
@goneri @pytest.mark.parametrize cannot be used with unittest.TestCase methods, for this reason Mandar used parametrize. He is trying to fix this by placing the test method outside of the class.
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
Some pep8 errors to be addressed. @mandar242. Otherwise, this LGTM!
|
Build failed.
|
Build succeeded.
|
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.
LGTM!
Add keys_attr parameter to aws_kms_info SUMMARY Move the kms_info return value from "keys" (which conflicts with keys()) to kms_keys. Add a parameter to support the old version Fixes ansible-collections#597 ISSUE TYPE Feature Pull Request COMPONENT NAME aws_kms_info ADDITIONAL INFORMATION Reviewed-by: Markus Bergholz <[email protected]> Reviewed-by: None <None>
SUMMARY
Added support for
OutpostArn
param inec2_vol
.Fixes #366.
ISSUE TYPE
COMPONENT NAME
ec2_vol