idlc-sdk-build 1.1.2 → 1.2.0

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: a682db67183804eb5aa44b127e656625eb6a8afc4a21635c71ac35213bd98e94
4
- data.tar.gz: 3b9ea6bf2e84a64b20d6370cd81ab34c79a548e31a78ad5f32232c68db17fbe1
3
+ metadata.gz: 2e3dfaf9c62ad3bede40959dcebe61bd180d6db4bf61099ee635504dc621ea7f
4
+ data.tar.gz: 49bc928524e017fe9a2777af51b6992adbb16bab837dc4f06f84d348b49c3163
5
5
  SHA512:
6
- metadata.gz: a1efa0fa74c9c8c91ff9ec431dc0ff93f12ca542580f0b56e1a8a9bcb4313c56208da8885a80e9a8f2614966b5f5dced997174d34264d90ca33b3e3cc99934fc
7
- data.tar.gz: a9bb15911434748c2a351d44799e55f95118a81263fdae0428796f27320625eb38b9049d2653dcc9d580b070fa2876a5f50ff2cc5c5fa27153fded0e3e2e5c7b
6
+ metadata.gz: 0ca75ae567f51108c3e3be56074dcddfd412e2a8381cdc29827e2f2439fbb901ec495e35e34cb05dc5c63d9c50b2a33cfec24b4058737370c135640ee8321298
7
+ data.tar.gz: 89f09140e13bc1aaae75e338c5d0d9537a21ac903401bc32f9b921732a6550a4a28f0ad9ece969843a2aa09b0632edec62984d67042a72c783ea93dc9978ee40
@@ -38,15 +38,15 @@ module Idlc
38
38
  @attributes['source_ami_name'] = MetadataAttribute.new(nil, true)
39
39
  @attributes['source_ami_owner'] = MetadataAttribute.new(nil, true)
40
40
  @attributes['version'] = MetadataAttribute.new(REPO_VERSION, true)
41
+ @attributes['security_group_id'] = MetadataAttribute.new(ENV['PACKER_BUILD_SG_ID'], true)
42
+ @attributes['vpc_id'] = MetadataAttribute.new(ENV['PACKER_BUILD_VPC_ID'], true)
43
+ @attributes['vpc_subnet'] = MetadataAttribute.new(ENV['PACKER_BUILD_SUBNET_ID'], true)
44
+ @attributes['iam_instance_profile'] = MetadataAttribute.new(ENV['PACKER_BUILD_INSTANCE_PROFILE_NAME'], true)
41
45
 
42
46
  # Optional Defaults
43
47
  @attributes['block_device_mapping'] = MetadataAttribute.new('[]')
44
48
  @attributes['job_code'] = MetadataAttribute.new('988')
45
49
  @attributes['chef_dir'] = MetadataAttribute.new('c:/windows/temp/packer-chef-client')
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')
50
50
  end
51
51
 
52
52
  def load
@@ -1,5 +1,5 @@
1
1
  module Idlc
2
2
  module Build
3
- VERSION = '1.1.2'
3
+ VERSION = '1.2.0'
4
4
  end
5
5
  end
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.1.2
4
+ version: 1.2.0
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-05-22 00:00:00.000000000 Z
11
+ date: 2018-11-05 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.6
200
+ rubygems_version: 2.7.7
201
201
  signing_key:
202
202
  specification_version: 4
203
203
  summary: IDLC SDK for AWS resources - Build