-
Notifications
You must be signed in to change notification settings - Fork 24
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
Unrelated changes are made during push #13
Comments
Update: I notice that the above behavior occurs every time I run |
Hey @simpsora, what order do you get when querying the data from aws directly via |
Hi @mtibben, I get the following, repeatably --
|
Yep - so the issue is with AWS. We give AWS something in a particular order, but they return it in another. I'm not sure how this could be easily worked around |
@mtibben of course, that makes sense. Terraform (which we used before Here's an example of what I mean, there are certainly more but this was the first one I could find: |
@mtibben Would you be amenable to a PR to fix this (that would just normalize the order of array elements before sending and receiving)? |
@simpsora sure, absolutely |
Hey @simpsora I think I've addressed this in #17. Give v2.0.0-beta2 a try, let me know if it's fixed for you |
@mtibben wonderful news! Just gave it a quick try, and works as promised. Will try it in anger tomorrow with real account data and let you know for sure. Thanks for tackling this! |
By the bye, one thing that appears to have changed is default region handling. Previously I had
If I set Happy to create an issue if you'd like. |
I'd say that's due to the AWS Go SDK - actually I believe I submitted this very issue with them last year! aws/aws-sdk-go#384 |
Also looks like terraform are still dealing with the same issue hashicorp/terraform#8350 |
@mtibben: We've used the new version on a couple of different accounts and it's looking great! Thanks again for knocking this out. Regarding the region issue: that ticket suggests that a fix was merged in early August. Do you know if the pre-release iamy build contains their fix and it doesn't work, or if it hasn't made it in yet? It's not a big deal, although the error message could be a bit clearer ("could not find region configuration130 " is a bit odd). In any case, thanks again! :) |
I made a change to a role, and in addition to the desired change,
iamy
also output the following change:This change is completely unrelated to the previous change. When allow
iamy
to apply the change, it applies cleanly. When I do a subsequent pull, I see that the order of the two entries in theService
array above has been reversed:This behavior is repeatable, and although it's not always the above role that gets updated, it is always just a re-order of array entries.
I've tried both v1.0.2, and the
dev
version thatgo get
gives me; both exhibit the same behavior.Great tool by the way! Makes IAM management so much easier.
Cheers,
Ross
The text was updated successfully, but these errors were encountered: