-
Notifications
You must be signed in to change notification settings - Fork 38
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
Please use AWS Ruby SDK instead of the AWS CLI #25
Comments
Here's a complete Ruby-only example for getting the tags of the instance the script is running on:
|
We have a desire to use this module, so we did some work on this. I have opened #28 which adds this feature. |
BTW, two things can be changed in the example code above:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wonder about the usage of the AWS CLI here. This is all Ruby code, so why not use the Ruby SDK instead of pulling in a Python application? This would also handle the retries in case of rate limits (see commit 57b3cd6) automatically and with exponential backoff, if the client was initialized accordingly, for example
I didn't run into API rate limits anymore since I added the
retry_limit: 20
part some years ago...The text was updated successfully, but these errors were encountered: