idlc-sdk-build 1.0.1 → 1.0.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aeb23b1d247a50e747790b6e835aaea0aace8b13542cc29be2fb92a4a00ac1b5
|
4
|
+
data.tar.gz: 3217ef6e1ea2a2653520dc5926f38360515dac276a00d25dd009f29a756109ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c20480295e06ae197aec35c41a06c482229ac59c759670fa2dc17a5053c1939a8e7d482515a168f97c2ceed6882874c74b1dd0c9e6beaf6079495fdead88be27
|
7
|
+
data.tar.gz: f90797409f77a8412e818332d616e7062ef9686d6fa0b2616a9430d584e266027447b8862872e464366ad2704b1a0991ae6080ff19b2140f0161b862294cf8a5
|
@@ -41,11 +41,12 @@ module Idlc
|
|
41
41
|
|
42
42
|
# Optional Defaults
|
43
43
|
@attributes['block_device_mapping'] = MetadataAttribute.new('[]')
|
44
|
-
@attributes['job_code'] = MetadataAttribute.new('
|
44
|
+
@attributes['job_code'] = MetadataAttribute.new('988')
|
45
45
|
@attributes['chef_dir'] = MetadataAttribute.new('c:/windows/temp/packer-chef-client')
|
46
|
-
@attributes['security_group_id'] = MetadataAttribute.new('sg-
|
47
|
-
@attributes['vpc_id'] = MetadataAttribute.new('vpc-
|
48
|
-
@attributes['vpc_subnet'] = MetadataAttribute.new('subnet-
|
46
|
+
@attributes['security_group_id'] = MetadataAttribute.new('sg-9116d1e7')
|
47
|
+
@attributes['vpc_id'] = MetadataAttribute.new('vpc-04e4427f')
|
48
|
+
@attributes['vpc_subnet'] = MetadataAttribute.new('subnet-434f4f27')
|
49
|
+
@attributes['iam_instance_profile'] = MetadataAttribute.new('packer_build')
|
49
50
|
end
|
50
51
|
|
51
52
|
def load
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"vpc_id": "{{ user `vpc_id` }}",
|
11
11
|
"subnet_id": "{{ user `vpc_subnet` }}",
|
12
12
|
"security_group_id": "{{ user `security_group_id` }}",
|
13
|
-
"iam_instance_profile": "
|
13
|
+
"iam_instance_profile": "{{ user `iam_instance_profile` }}",
|
14
14
|
"source_ami_filter": {
|
15
15
|
"filters": {
|
16
16
|
"name": "{{ user `source_ami_name` }}-*"
|
@@ -20,7 +20,6 @@
|
|
20
20
|
},
|
21
21
|
"instance_type": "{{ user `instance_type` }}",
|
22
22
|
"ami_name": "{{ user `build_stage` }}-{{ user `role` }}-{{ user `version` }}.{{ user `build_number` }}{{ user `build_metadata` }}",
|
23
|
-
"ami_users": ["404093710949"],
|
24
23
|
"user_data_file": "files/config/init.ps1.userdata",
|
25
24
|
"launch_block_device_mappings": <%= @metadata['block_device_mapping'].value %>,
|
26
25
|
"run_tags": {
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"vpc_id": "{{ user `vpc_id` }}",
|
12
12
|
"subnet_id": "{{ user `vpc_subnet` }}",
|
13
13
|
"security_group_id": "{{ user `security_group_id` }}",
|
14
|
-
"iam_instance_profile": "
|
14
|
+
"iam_instance_profile": "{{ user `iam_instance_profile` }}",
|
15
15
|
"source_ami_filter": {
|
16
16
|
"filters": {
|
17
17
|
"name": "{{ user `source_ami_name` }}*"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: idlc-sdk-build
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Cazell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
197
|
version: '0'
|
198
198
|
requirements: []
|
199
199
|
rubyforge_project:
|
200
|
-
rubygems_version: 2.7.
|
200
|
+
rubygems_version: 2.7.6
|
201
201
|
signing_key:
|
202
202
|
specification_version: 4
|
203
203
|
summary: IDLC SDK for AWS resources - Build
|