idlc-sdk-deploy 1.0.16 → 1.0.17

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: 8ca29ccf9ec0260df48a59d9c51c1794fdd98a177ca681704facf892bad60b3d
4
- data.tar.gz: d1ea345c78f83de0cbe25cd083cb77498adfcc2c310b3b99b5cb39b029b5fd9d
3
+ metadata.gz: fc256b0c5d1d3e400acdc51fb3b59ad9e048d2950a5aad574d4f734d92624214
4
+ data.tar.gz: 5e9cf5f7f48b53a70a5bb526f8163eaad5df3fe5eb584a0fce1cddcde6b775f2
5
5
  SHA512:
6
- metadata.gz: d1ca60aee6f1406197e580e01311e1f3715dff89538407ffebdac64fa57a1666a1cd15ab9f1f66115c3a078ebda59a1119fba710a164a6205ecc79b5949eb497
7
- data.tar.gz: 3e01334633f21e1d44cff1eea89ae4f1768a71b4b225763ca7da79b8e6f9ff60c94cc4261dbb4e922fa44f79d5c76c1caa45ecdb65be50f6fdf829342e1fbe24
6
+ metadata.gz: 635eb6807d122afdebe8154691f0e26eaae38fb7c47b279b8c94eee9f0166be677dda3ef32506acbc90bf6d0016bd78f04e5685c7766fa742819c90d992dfe0f
7
+ data.tar.gz: 89ea12a808f2188c77f0314cea83db55431c43104c7cc3952b5e5a1b717d329809a57319a36a4d7ba057eac507d343911374847be59ade05173da095558ead17
@@ -93,14 +93,15 @@ 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
- instance['instance_id'] = instance_id
96
+ i = {}
97
+ i['instance_id'] = instance_id
97
98
 
98
99
  instance.tags.each do |tag|
99
100
  # Grab all of the tags as node attributes
100
- instance['tags'][tag.key] = tag.value
101
+ i['tags'][tag.key] = tag.value
101
102
  end
102
103
 
103
- instance
104
+ i
104
105
  end
105
106
 
106
107
  def set_hostname (instance)
@@ -1,5 +1,5 @@
1
1
  module Idlc
2
2
  module Deploy
3
- VERSION = '1.0.16'.freeze
3
+ VERSION = '1.0.17'.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.16
4
+ version: 1.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Cazell