eb_deployer 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -6,12 +6,12 @@ module EbDeployer
|
|
6
6
|
end
|
7
7
|
|
8
8
|
def create_stack(name, template, opts)
|
9
|
-
cloud_formation.stacks.create(name,
|
9
|
+
cloud_formation.stacks.create(name, template, opts)
|
10
10
|
end
|
11
11
|
|
12
|
-
def update_stack(name,
|
12
|
+
def update_stack(name, template, opts)
|
13
13
|
begin
|
14
|
-
stack(name).update(opts.merge(:
|
14
|
+
stack(name).update(opts.merge(:template => template))
|
15
15
|
rescue AWS::CloudFormation::Errors::ValidationError => e
|
16
16
|
if e.message =~ /No updates are to be performed/
|
17
17
|
log(e.message)
|
data/lib/eb_deployer/version.rb
CHANGED