aws_info 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1dc98127c424626815792480e2a2cf267b92cbc2
4
- data.tar.gz: 5585ef58f1e8a35cba2a09f303c857368e79c00f
3
+ metadata.gz: cdae514766489bd0b25ed0d78c4a65b5e0ba18b9
4
+ data.tar.gz: 0aa4848de5a8100722ecfd3c11695c1bbe94f4a8
5
5
  SHA512:
6
- metadata.gz: 02fcb2c0c6d807fd27b984bfa9d545174448599876fefd5ac936c9ea8c25ba1cef4ba7c27e1547ebfc6164a829a40373dd7783e7da53fae514c0c5f31251440d
7
- data.tar.gz: 82325b19e6bcb73899e96fd10c6a0405f367e0c52bc150c7c69d1e6d8acaccd16a95b179a72eb96e5e9631cd59ec0151af40b66333cffbf8099a3b3bfbd86a2d
6
+ metadata.gz: 3f6fb4e8e3743108a53d3a2b0e1d494b76caea17417af38b2d2d4e25bca17b01d2105e71586677dee67bbe6729afdc404f95f9dcc3727c55a9d19c2c2a569f2c
7
+ data.tar.gz: 0c0c98de54258bac5f803db6f1ae137c4cd218389f23449e3aa46aac4cdd90c474a0f40cc5af9363bb2f756afd6dd8627db5b86896fe05c5a9f8801baeaf400d
@@ -83,7 +83,7 @@ module AwsInfo
83
83
  # You must have permissions to run aws ec2 describe-tags
84
84
  # Is there a better way to get this without relying on sysyem calls?
85
85
  # Aws sdk provides this, but do I want to rely on the aws-adk?
86
- `aws ec2 describe-tags --region us-east-1 --filter "Name=resource-id,Values=#{instance_id}"`
86
+ `aws ec2 describe-tags --region #{region} --filter "Name=resource-id,Values=#{instance_id}"`
87
87
  end
88
88
 
89
89
  def load_meta_data
@@ -1,3 +1,3 @@
1
1
  module AwsInfo
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws_info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Thomas
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-11 00:00:00.000000000 Z
11
+ date: 2015-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler