idlc-sdk-deploy 1.0.18 → 1.0.19
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 -5
- 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: 6f363b9c3befeafa2c2815f0bc968224d568d2d9cddc60a75d3e5dc8cf7629ef
|
4
|
+
data.tar.gz: df4deb4232cdce4f7b3dfbc444ee1bdd095129539d9a0a760ded519cd6d18b0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a92d237bc77a0085dfd0e3ef11559fdc42650f072054329bd01010e7e88792f224f1a0408989004970ca6a312d337d6594ca8526876613958d20e757e123a95
|
7
|
+
data.tar.gz: 9ea7f06e40623f1c85484d2f7845edd45a924be3874fc8de47daefcf92fffe54cb2cb300822ecffef7cdf957b89eeca72b54a3e0295aa42f1c10d27cc7d99a29
|
@@ -94,13 +94,12 @@ module Idlc
|
|
94
94
|
# Create instance object with instance id.
|
95
95
|
instance = Aws::EC2::Instance.new( id: instance_id, region: ENV['AWS_REGION'] )
|
96
96
|
|
97
|
-
# save
|
98
|
-
i = {
|
99
|
-
|
100
|
-
tags: {}
|
101
|
-
}
|
97
|
+
# save some instance info
|
98
|
+
i = {}
|
99
|
+
i['instance_id'] = instance_id
|
102
100
|
|
103
101
|
# save tags
|
102
|
+
i['tags'] = {}
|
104
103
|
instance.tags.each do |tag|
|
105
104
|
# Grab all of the tags as node attributes
|
106
105
|
i['tags'][tag.key] = tag.value
|