idlc-sdk-deploy 1.0.17 → 1.0.18
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 +4 -4
- data/lib/idlc-sdk-deploy/config.rb +7 -2
- 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: 3fd509c57cb50ac3c2526a23f5d94494f997df7e5593975ad4e8e3cba2abb299
|
4
|
+
data.tar.gz: da064a2ae966799a00f08b28ae6173fc346cff377839d8aee422b2cc82f3b496
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|