-
Notifications
You must be signed in to change notification settings - Fork 143
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
Update check-redshift-events.rb to AWS SDK v2 #298
Conversation
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 I am gonna see if I can find someone using redshift to test but if not the change looks pretty simple to me.
CHANGELOG.md
Outdated
@@ -4,6 +4,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). | |||
This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md) | |||
|
|||
## [Unreleased] | |||
### Breaking Changes | |||
- `check-redshift-events.rb` was updated to aws-sdk v2 and no longer take `aws_access_key` and `aws_secret_access_key` options. (@boutetnico) |
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.
same comment as #297 (comment)
CHANGELOG.md
Outdated
@@ -19,7 +21,7 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins | |||
|
|||
## [12.1.0] - 2018-08-28 | |||
### Added | |||
- new `check-efs.rb: checks cloudwatch metrics with the efs namespace for an arbitrary metric (@ivanfetch) | |||
- new `check-efs.rb`: checks cloudwatch metrics with the efs namespace for an arbitrary metric (@ivanfetch) |
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.
you already made this change in another PR, please make this change in only one PR or it makes merging them more difficult.
I have asked for someone to test it that uses redshift: https://sensucommunity.slack.com/archives/C68LV5M9U/p1540867621031400 will give it ~48 hours before merging if we dont get anyone. |
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
released: https://rubygems.org/gems/sensu-plugins-aws/versions/13.0.0 I had to manually release because we have clogged up travis by enabling https://dependabot.com to help us with a lot of the maintenance work involved in keeping this project working so I can spend more time adding features and fixing bugs. |
Disclosure: I'm not a Ruby programmer, I cannot run the test suite, please review my changes. Also I don't have a Redshift cluster so I cannot test my changes, I'm just trying to make things move, can anyone using Redshift test this? Thanks
Pull Request Checklist
Issue related: #240
General
Update Changelog following the conventions laid out here
Update README with any necessary configuration snippets
Binstubs are created if needed
RuboCop passes
Existing tests pass
Purpose
Update to AWS SDK v2.
Known Compatibility Issues
This is a breaking change because it removes
aws_access_key
andaws_secret_access_key
options per #2.