amazon-pricing 0.1.41 → 0.1.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/amazon-pricing/version.rb +1 -1
- data/lib/gov-cloud-price-list.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTg3ZDU5YmZjNzkxZGJiNjI0MDgwYWU2OGE3NmY5NTlmYjcxMGQwOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTAwNDUyMDExOTM3MWNlYjZmMTU3MTNmYjFkMzM1ZTJkZTBhNTdjMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzQxZGFkOGUzYWQ4YTVhZWUyZDk3MTAyZmI3MzQyZTVmNzRmNTQ2OWExYjIz
|
10
|
+
ODEwNzYzZmJlOWRhZjQwMGEwOTlkNmMzODI5ZTdmNDBhYTNlYWVjNzE3ODNk
|
11
|
+
MmIxYjQ0NTg0OGY2NzQ1YmVjNjZkMDRkNjlhOGZhMTAzN2IxM2U=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDBjYzkyZTA3MWM4ODdlYjFmZTk1YmJkNWIyODNmMTcxOTdhMTBlN2MyY2Qx
|
14
|
+
NzNhOGYxNzY3MTcxZGRlNjZjOGM4NjNlNmJhN2FmMDIzYjk2ODkzNjNlMzU4
|
15
|
+
MjI0OTAxZTQ2MzIxODQ5NDE0NjRhZDRhZjJjYWE2MDAyNzQ0YWQ=
|
data/lib/gov-cloud-price-list.rb
CHANGED
@@ -80,8 +80,12 @@ module AwsPricing
|
|
80
80
|
def create_ondemand_instances(db_type, res_type, is_multi_az, is_byol, rows)
|
81
81
|
@_regions.values.each do |region|
|
82
82
|
# Skip header row
|
83
|
-
rows.
|
83
|
+
rows.each do |row|
|
84
84
|
api_name = row[0]
|
85
|
+
unless api_name.include?("db.")
|
86
|
+
$stderr.puts "Skipping row containing non-db type: #{api_name}"
|
87
|
+
next
|
88
|
+
end
|
85
89
|
instance_type = region.get_rds_instance_type(api_name)
|
86
90
|
if instance_type.nil?
|
87
91
|
api_name, name = RdsInstanceType.get_name(nil, row[0], false)
|