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 +4 -4
- data/lib/idlc-sdk-deploy/config.rb +4 -3
- data/lib/idlc-sdk-deploy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc256b0c5d1d3e400acdc51fb3b59ad9e048d2950a5aad574d4f734d92624214
|
4
|
+
data.tar.gz: 5e9cf5f7f48b53a70a5bb526f8163eaad5df3fe5eb584a0fce1cddcde6b775f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
101
|
+
i['tags'][tag.key] = tag.value
|
101
102
|
end
|
102
103
|
|
103
|
-
|
104
|
+
i
|
104
105
|
end
|
105
106
|
|
106
107
|
def set_hostname (instance)
|