awspec 0.69.0 → 0.69.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awspec/helper/finder/rds.rb +9 -4
- data/lib/awspec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f58f45b2a249eb3fae5d4fe74a9c9aa15b548c6
|
4
|
+
data.tar.gz: e7d332fb6543ace555ef35c6ab26ac9f301d05fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2c4b05f4335ba4b133ee5872fc9be38716a7cfababfae2d8eba7282b5dcdc1bb509a481a3751a2c113b902e9e30c6f4f137802ca5e941ddee30b63c2d677520
|
7
|
+
data.tar.gz: 43ff7acc66916f1469c8539b5dce475a4ea29704afd3e6594f09f1264b6bc0616551f9cffc593336e1016df94b34bd2cbb63e20f7e31f6d71f435cf005f2af2f
|
@@ -2,10 +2,15 @@ module Awspec::Helper
|
|
2
2
|
module Finder
|
3
3
|
module Rds
|
4
4
|
def find_rds(id)
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
begin
|
6
|
+
res = rds_client.describe_db_instances({
|
7
|
+
db_instance_identifier: id
|
8
|
+
})
|
9
|
+
rescue
|
10
|
+
res = rds_client.describe_db_instances({
|
11
|
+
filters: [{ name: 'db-instance-id', values: [id] }]
|
12
|
+
})
|
13
|
+
end
|
9
14
|
res.db_instances.single_resource(id)
|
10
15
|
end
|
11
16
|
|
data/lib/awspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.69.
|
4
|
+
version: 0.69.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- k1LoW
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|