idlc-sdk-deploy 1.0.17 → 1.0.18

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
  SHA256:
3
- metadata.gz: fc256b0c5d1d3e400acdc51fb3b59ad9e048d2950a5aad574d4f734d92624214
4
- data.tar.gz: 5e9cf5f7f48b53a70a5bb526f8163eaad5df3fe5eb584a0fce1cddcde6b775f2
3
+ metadata.gz: 3fd509c57cb50ac3c2526a23f5d94494f997df7e5593975ad4e8e3cba2abb299
4
+ data.tar.gz: da064a2ae966799a00f08b28ae6173fc346cff377839d8aee422b2cc82f3b496
5
5
  SHA512:
6
- metadata.gz: 635eb6807d122afdebe8154691f0e26eaae38fb7c47b279b8c94eee9f0166be677dda3ef32506acbc90bf6d0016bd78f04e5685c7766fa742819c90d992dfe0f
7
- data.tar.gz: 89ea12a808f2188c77f0314cea83db55431c43104c7cc3952b5e5a1b717d329809a57319a36a4d7ba057eac507d343911374847be59ade05173da095558ead17
6
+ metadata.gz: 5d0cbb91370a8a9ec8116623374807f2baa6d9fd401af3f88509a3b35dc3ca8cf2834f7abee741e83de7b7db004e4cf5541554e1ac04db351d43d10d8a9b8b3f
7
+ data.tar.gz: 347e1ddfccc8a868ad08fb79647ebeab68894884b3bdeaa66c3f9a55488cbdc5b1b8213adb474ef99f41f391dd4506a4ff647be47a340e43bff7f3e2b0ed97ef
@@ -93,9 +93,14 @@ module Idlc
93
93
 
94
94
  # Create instance object with instance id.
95
95
  instance = Aws::EC2::Instance.new( id: instance_id, region: ENV['AWS_REGION'] )
96
- i = {}
97
- i['instance_id'] = instance_id
98
96
 
97
+ # save instance_id
98
+ i = {
99
+ instance_id: instance_id,
100
+ tags: {}
101
+ }
102
+
103
+ # save tags
99
104
  instance.tags.each do |tag|
100
105
  # Grab all of the tags as node attributes
101
106
  i['tags'][tag.key] = tag.value
@@ -1,5 +1,5 @@
1
1
  module Idlc
2
2
  module Deploy
3
- VERSION = '1.0.17'.freeze
3
+ VERSION = '1.0.18'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idlc-sdk-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.17
4
+ version: 1.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Cazell