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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bdd48523a04e8dd27222aaf6402f407b47facb36
4
- data.tar.gz: 2275b39f64331ad9c856d1085cb7b397ef68e780
3
+ metadata.gz: 8f58f45b2a249eb3fae5d4fe74a9c9aa15b548c6
4
+ data.tar.gz: e7d332fb6543ace555ef35c6ab26ac9f301d05fd
5
5
  SHA512:
6
- metadata.gz: 0a5acf19637ffc777ec7828b84c8702a5ed9ae13478d102415097717de3cb67a2de7a293ac5d67be9a01b7ba3238fc88025c349912e5435d91e1da5b1538c392
7
- data.tar.gz: d1f8d7d99d88feb534181ab0f4cc65183cdcaaf96a930abf1c08ba70e2dd1182bb565416344da1d2fe785d859a9a5b6a8fc7a8cd54dbeda304baa49782fdaa7e
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
- # db_instance_identifier
6
- res = rds_client.describe_db_instances({
7
- db_instance_identifier: id
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
 
@@ -1,3 +1,3 @@
1
1
  module Awspec
2
- VERSION = '0.69.0'
2
+ VERSION = '0.69.1'
3
3
  end
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.0
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-02 00:00:00.000000000 Z
11
+ date: 2017-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec