-
Notifications
You must be signed in to change notification settings - Fork 336
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
inventory aws_ec2 - assume role using iam_role_arn parameter to describe regions #624
inventory aws_ec2 - assume role using iam_role_arn parameter to describe regions #624
Conversation
Build failed.
|
recheck |
Build failed.
|
recheck |
Build failed.
|
recheck |
Build failed.
|
recheck |
Build failed.
|
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.
@abikouo Thank you for taking time to work on this. LGTM. I was just wondering if you could add a unit test.
recheck |
Build failed.
|
02d310e
to
f1c9551
Compare
Hi @alinabuzachis this is not a good candidate for unit testing as this will need to create a lot of mock objects to simply capture an exception, I would rather go for integration testing but I am missing authorization to create an IAM role, for the time being, this can be merged like this. |
Build failed.
|
recheck |
Build failed.
|
recheck |
@abikouo I guess there is an issue with the requirements for units in general.
|
…ssume the role before trying to call DescribeRegions
f1c9551
to
a73d3ce
Compare
recheck |
changelogs/fragments/619-inventory-aws_ec2-assume-arn-role-when-listing-regions.yml
Outdated
Show resolved
Hide resolved
…n-listing-regions.yml Co-authored-by: Markus Bergholz <[email protected]>
Backport to stable-2: 💚 backport PR created✅ Backport PR branch: Backported as #725 🤖 @patchback |
…ibe regions (#624) inventory aws_ec2 - assume role using iam_role_arn parameter to describe regions SUMMARY This is a proposal to solve #566 ISSUE TYPE Feature Pull Request COMPONENT NAME aws_ec2 Reviewed-by: Alina Buzachis <None> Reviewed-by: Markus Bergholz <[email protected]> (cherry picked from commit 56e6e69)
Backport to stable-3: 💚 backport PR created✅ Backport PR branch: Backported as #726 🤖 @patchback |
…ibe regions (#624) inventory aws_ec2 - assume role using iam_role_arn parameter to describe regions SUMMARY This is a proposal to solve #566 ISSUE TYPE Feature Pull Request COMPONENT NAME aws_ec2 Reviewed-by: Alina Buzachis <None> Reviewed-by: Markus Bergholz <[email protected]> (cherry picked from commit 56e6e69)
…ibe regions (#624) (#725) [PR #624/56e6e69f backport][stable-2] inventory aws_ec2 - assume role using iam_role_arn parameter to describe regions This is a backport of PR #624 as merged into main (56e6e69). SUMMARY This is a proposal to solve #566 ISSUE TYPE Feature Pull Request COMPONENT NAME aws_ec2
…ibe regions (#624) (#726) [PR #624/56e6e69f backport][stable-3] inventory aws_ec2 - assume role using iam_role_arn parameter to describe regions This is a backport of PR #624 as merged into main (56e6e69). SUMMARY This is a proposal to solve #566 ISSUE TYPE Feature Pull Request COMPONENT NAME aws_ec2
SUMMARY
This is a proposal to solve #566
ISSUE TYPE
COMPONENT NAME
aws_ec2