cfhighlander 0.12.2.alpha.1603234673 → 0.12.2.alpha.1603236787

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: d536f8e52032ab314218ebc97602337ce9641674dc922162e5edd0bf85fc1c45
4
- data.tar.gz: 6c8b11170fd53dd05101febff9805875bd09ef7ef978d045231d42d036179330
3
+ metadata.gz: d160b0c44c1e25a1fbcd9525a23fb48380035ec2f3567af0c4470088ef6ec8d6
4
+ data.tar.gz: '083bf6f5eeefc20d94ba90c1de9fb4162fd71c16ac0d24dea11830149da118db'
5
5
  SHA512:
6
- metadata.gz: 262fa6c520fbf222e38a3a6d6213fd5999774d06eb6b9dbb5cba02a353338a3638ccecf9afdb5abcb77c7d4f99dca2b3d732d893aea65d39dbd2df36d89ff404
7
- data.tar.gz: 391b8f33fe0da950823abb6286116612c900a62cc273e9114bb2915cad42764b74459b8efd623a91035ce2531c9d139de96c750e471216899c6b3a49073d978c
6
+ metadata.gz: 037d811aef701656f57aa102d77d18e6729eb434ac53fa63f59dd280a4047c39594ae3914ec51facb6760d004d52b2d7e4ee7fcf354ad1ceac8535055c7732a2
7
+ data.tar.gz: cf3348f683377b133a362d1b4e19ee349aeeea8ebdf46368cd195569c79c705b5f10f794004428b7e1c95423340d646f7a241ff37e201fb3e95b92a54b4bb784
data/README.md CHANGED
@@ -495,17 +495,6 @@ CfhighlanderTemplate do
495
495
  end
496
496
  ```
497
497
 
498
- **Nested Stack Timeout** - If you ant set a timeout on your nested cloudformation stack you can set this with the `timeout: int` option on the component.
499
-
500
- ```ruby
501
- CfhighlanderTemplate do
502
-
503
- # sets a timeout for 10 minutes on the nested VPC stack, if the stack is not created or updated within 10 minutes the stack rolls back.
504
- Component name: 'vpc', template: 'vpc-v2', timeout: 10
505
-
506
- end
507
- ```
508
-
509
498
  **Convert config value to parameter** - In case of inner component having configuration value
510
499
  you wish to expose as runtime parameter, it is possible to do so with limitation that configuration
511
500
  value is only used in *resource declarations*, as property value. If configuration value is being used
@@ -36,8 +36,7 @@ module Cfhighlander
36
36
  :template_version,
37
37
  :inlined,
38
38
  :dependson,
39
- :condition,
40
- :template_timeout
39
+ :condition
41
40
 
42
41
  def initialize(parent,
43
42
  name,
@@ -50,7 +49,6 @@ module Cfhighlander
50
49
  condition = nil,
51
50
  enabled = true,
52
51
  dependson = [],
53
- template_timeout = nil,
54
52
  inline = false,
55
53
  distribution_format = 'yaml')
56
54
 
@@ -61,7 +59,6 @@ module Cfhighlander
61
59
  @conditional = conditional
62
60
  @condition = condition
63
61
  @dependson = [*dependson]
64
- @template_timeout = template_timeout
65
62
  @inlined = inline
66
63
 
67
64
  template_name = template
@@ -37,8 +37,7 @@ module Cfhighlander
37
37
  :lambda_functions_keys,
38
38
  :description,
39
39
  :dependson_components,
40
- :template_dir,
41
- :template_timeout
40
+ :template_dir
42
41
 
43
42
  attr_reader :conditions,
44
43
  :subcomponents,
@@ -58,7 +57,6 @@ module Cfhighlander
58
57
  @lambda_functions_keys = []
59
58
  @dependson_components_templates = []
60
59
  @dependson_components = []
61
- @template_timeout = nil
62
60
  @conditions = []
63
61
  @config_overrides = {}
64
62
  @extended_template = nil
@@ -129,7 +127,6 @@ module Cfhighlander
129
127
  condition: nil,
130
128
  enabled: true,
131
129
  dependson: [],
132
- timeout: nil,
133
130
  render: Cfhighlander::Model::Component::Substack,
134
131
  &block)
135
132
  puts "INFO: Requested subcomponent #{name} with template #{template}"
@@ -154,7 +151,6 @@ module Cfhighlander
154
151
  condition,
155
152
  enabled,
156
153
  dependson,
157
- timeout,
158
154
  render == Cfhighlander::Model::Component::Inline
159
155
  )
160
156
  # component.instance_eval(&block) unless block.nil?
@@ -23,9 +23,6 @@ CloudFormation do
23
23
  <% for @param in @subcomponent.parameters %><%="\t"%>'<%=@param.name %>' => <%= @param.cfndsl_value %>,
24
24
  <% end %>})
25
25
  <% if @subcomponent.conditional %>Condition '<%= @subcomponent.condition %>' <% end %>
26
- <%- if !@subcomponent.template_timeout.nil? %>
27
- TimeoutInMinutes <%= @subcomponent.template_timeout.to_i %>
28
- <%- end %>
29
26
  end
30
27
  <% end %>
31
28
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfhighlander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2.alpha.1603234673
4
+ version: 0.12.2.alpha.1603236787
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikola Tosic