stackit 0.2.4 → 0.2.5
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/managed_stack_service.rb +21 -1
- data/lib/stackit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53117e180823b1415771e7d49bd02a02845e6833
|
4
|
+
data.tar.gz: fd84a9ad362360a4cf67bfc4e12694ed60eaf3c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f181521fdd80b71e6256da7f0c83229960780b6049aaca63d9b17fafe5a216896befc91498a46993b66360d0d4891a3f69fb7c7b446a32f7e26b795ad3d2824f
|
7
|
+
data.tar.gz: ac57d629fc7668d6f3e15b8d20b0fed180f0759ccc58055200d89a5150d182dc64c61ac02dc3f2600ab2f03c1b88e57063198e683c2f484d446707fc4b385e9c
|
@@ -50,6 +50,10 @@ module Stackit
|
|
50
50
|
dir = options[:template_dir] ? options[:template_dir] : __dir__
|
51
51
|
end
|
52
52
|
|
53
|
+
def disable_rollback
|
54
|
+
true
|
55
|
+
end
|
56
|
+
|
53
57
|
def stack
|
54
58
|
ManagedStack.new(
|
55
59
|
template: template,
|
@@ -60,10 +64,18 @@ module Stackit
|
|
60
64
|
user_defined_parameters: user_defined_parameters,
|
61
65
|
parameters_file: parameters_file,
|
62
66
|
parameter_map: parameter_mappings,
|
67
|
+
disable_rollback: !!options[:debug] ? true : (!!options[:disable_rollback] || disable_rollback),
|
63
68
|
wait: options[:wait],
|
64
69
|
force: options[:force],
|
65
70
|
dry_run: options[:dry_run],
|
66
|
-
debug: !!options[:debug]
|
71
|
+
debug: !!options[:debug],
|
72
|
+
timeout_in_minutes: options[:timeout_in_minutes],
|
73
|
+
notification_arns: options[:notification_arns],
|
74
|
+
capabilities: options[:capabilities],
|
75
|
+
tags: options[:tags],
|
76
|
+
on_failure: options[:on_failure],
|
77
|
+
use_previous_template: options[:use_previous_template],
|
78
|
+
retain_resources: options[:retain_resources]
|
67
79
|
)
|
68
80
|
end
|
69
81
|
|
@@ -87,5 +99,13 @@ module Stackit
|
|
87
99
|
end
|
88
100
|
end
|
89
101
|
|
102
|
+
def opsworks_service_role_arn(key = :OpsWorksServiceRole)
|
103
|
+
"arn:aws:iam::#{Stackit.aws.account_id}:role/#{resolve_parameter(key)}"
|
104
|
+
end
|
105
|
+
|
106
|
+
def opsworks_cookbook_source(key = :DevOpsBucket)
|
107
|
+
"https://s3.amazonaws.com/#{resolve_parameter(key)}/cookbooks.tar.gz"
|
108
|
+
end
|
109
|
+
|
90
110
|
end
|
91
111
|
end
|
data/lib/stackit/version.rb
CHANGED