stackit 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stackit/stack.rb +12 -12
- data/lib/stackit/stack/managed_stack_service.rb +6 -0
- data/lib/stackit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20b0e599e0082585ae76c69fb9dba9c02acab170
|
4
|
+
data.tar.gz: ac6dce8a6743e36d27cfe0892a481227226224ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed55020a56e970628a23aedfa65afb9cd590724ede76de4592804a46451cbb12f77ddf0076869e5bd7aa34236a881594839b784a1f1793b6058d77e78ad39b8a
|
7
|
+
data.tar.gz: 9b4a5425ab376727584b2b4724ba11d79f5080ca70979c93c0dbb7e3668beb942d150c966debc1a5f3150c2c2288ff6de7b4a60d31b47d34092e05a0bb2c3739
|
data/lib/stackit/stack.rb
CHANGED
@@ -22,18 +22,18 @@ module Stackit
|
|
22
22
|
|
23
23
|
def initialize(options = {})
|
24
24
|
options = options.to_h.symbolize_keys!
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
25
|
+
self.cloudformation = options[:cloudformation] || Stackit.cloudformation
|
26
|
+
self.stack_name = options[:stack_name]
|
27
|
+
self.description = options[:description]
|
28
|
+
self.parameters = options[:parameters]
|
29
|
+
self.disable_rollback = options[:disable_rollback]
|
30
|
+
self.notification_arns = options[:notification_arns]
|
31
|
+
self.timeout_in_minutes = options[:timeout_in_minutes]
|
32
|
+
self.capabilities = options[:capabilities]
|
33
|
+
self.tags = options[:tags]
|
34
|
+
self.on_failure = options[:on_failure]
|
35
|
+
self.use_previous_template = options[:use_previous_template]
|
36
|
+
self.retain_resources = options[:retain_resources]
|
37
37
|
end
|
38
38
|
|
39
39
|
def [](key)
|
@@ -14,6 +14,7 @@ module Stackit
|
|
14
14
|
stack_name: stack_name,
|
15
15
|
stack_policy: options[:stack_policy],
|
16
16
|
depends: options[:depends],
|
17
|
+
user_defined_parameters: user_defined_parameters,
|
17
18
|
parameters_file: parameters_file,
|
18
19
|
parameter_map: parameter_mappings,
|
19
20
|
wait: options[:wait],
|
@@ -30,6 +31,7 @@ module Stackit
|
|
30
31
|
stack_policy: options[:stack_policy],
|
31
32
|
stack_policy_during_update: options[:stack_policy_during_update],
|
32
33
|
depends: options[:depends],
|
34
|
+
user_defined_parameters: user_defined_parameters,
|
33
35
|
parameters_file: parameters_file,
|
34
36
|
parameter_map: parameter_mappings,
|
35
37
|
wait: options[:wait],
|
@@ -66,6 +68,10 @@ module Stackit
|
|
66
68
|
{}
|
67
69
|
end
|
68
70
|
|
71
|
+
def user_defined_parameters
|
72
|
+
{}
|
73
|
+
end
|
74
|
+
|
69
75
|
def template_dir
|
70
76
|
dir = options[:template_dir] ? options[:template_dir] : __dir__
|
71
77
|
end
|
data/lib/stackit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stackit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Hahn
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|