sumomo 0.8.22 → 0.9.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ca6682714d521c07d70bb0dfd270897a53389ecd2b53f7581a260841e0c170c
4
- data.tar.gz: b43744c1f57eb638db6d7d3199e7542279f532e08603a9c6b753d266d6c76793
3
+ metadata.gz: '073782fdfbe69977c7593b76415797b035764772302b35c50ccf69533324c875'
4
+ data.tar.gz: 1efbe5244de1bf4cd3c8ff6faf18a3b3bbda9b4137297c1ba6d1349553ea60a9
5
5
  SHA512:
6
- metadata.gz: 7b3b1e2abb745a50ba2f245a2dda925d15ac15842abe8e57f1343edffd1e8bc7d59bb9403741d201e794640addab6bf6edc7b7c83d44b625041589134d4ff5f1
7
- data.tar.gz: f12ad5cafa9f2963fcd0f9718b47b0be4ba522952a2c960511cde6ba57bc5ebcb1039136545b395901e3066e8a1e2b3333b74d5a8c61b97ab8fd2bc5fa9d3885
6
+ metadata.gz: 9ee43afb24863f75a9d421d116e696e410ad90c2cdb15e1bd353c05bcde3d6ef08a69055ede03b3ad62f87c0483196a643029839afe255266292d7a5371957b1
7
+ data.tar.gz: 92f385cc371f99e5201540d9fecc75f6a66ced34b75d3c397bbc85706c1ab00d72e25651d56d30402549994ad4fb6f3b6d4f03df9edcfb0f4c794af036d9f5f9
data/lib/sumomo/ec2.rb CHANGED
@@ -277,7 +277,7 @@ module Sumomo
277
277
  @ami_lookup_resources ||= {}
278
278
 
279
279
  unless @ami_lookup_resources[type]
280
- @ami_lookup_resources[type] = make 'Custom::AMILookup' do
280
+ @ami_lookup_resources[type] = make 'Custom::AMILookup', name: "#{name}AmiLookup" do
281
281
  InstanceType type
282
282
  end
283
283
  end
@@ -335,14 +335,14 @@ module Sumomo
335
335
  end
336
336
  raise 'ec2: egress option needs to be an array' unless egress.is_a? Array
337
337
 
338
- web_sec_group = make 'AWS::EC2::SecurityGroup' do
338
+ web_sec_group = make 'AWS::EC2::SecurityGroup', name: "#{name}SecurityGroup" do
339
339
  GroupDescription "Security group for layer: #{layer}"
340
340
  SecurityGroupIngress ingress
341
341
  SecurityGroupEgress egress
342
342
  VpcId network.vpc
343
343
  end
344
344
 
345
- wait_handle = make 'AWS::CloudFormation::WaitConditionHandle'
345
+ wait_handle = make 'AWS::CloudFormation::WaitConditionHandle', name: "#{name}WaitConditionHandle"
346
346
 
347
347
  user_data = initscript(wait_handle, name, call('Fn::Join', "\n", script_arr))
348
348
 
@@ -355,7 +355,7 @@ module Sumomo
355
355
  }]
356
356
  }
357
357
 
358
- asg_role = make 'AWS::IAM::Role' do
358
+ asg_role = make 'AWS::IAM::Role', name: "#{name}Role" do
359
359
  AssumeRolePolicyDocument role_policy_doc
360
360
  Path '/'
361
361
  Policies [{
@@ -404,12 +404,12 @@ module Sumomo
404
404
  }]
405
405
  end
406
406
 
407
- asg_profile = make 'AWS::IAM::InstanceProfile' do
407
+ asg_profile = make 'AWS::IAM::InstanceProfile', name: "#{name}InstanceProfile" do
408
408
  Path '/'
409
409
  Roles [asg_role]
410
410
  end
411
411
 
412
- launch_config = make 'AWS::AutoScaling::LaunchConfiguration' do
412
+ launch_config = make 'AWS::AutoScaling::LaunchConfiguration', name: "#{name}LaunchConfiguration" do
413
413
  AssociatePublicIpAddress has_public_ips
414
414
  KeyName keypair
415
415
  SecurityGroups [web_sec_group] + security_groups
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sumomo
4
- VERSION = '0.8.22'
4
+ VERSION = '0.9.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sumomo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.22
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Siaw
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-20 00:00:00.000000000 Z
11
+ date: 2023-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler