cloudformation-ruby-dsl 1.4.2 → 1.4.3
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f32c98b854e3dc8fca0b487b32e2b90ce58fbad
|
4
|
+
data.tar.gz: 217cddaa39ebfd41aae4d2248371417155c1235f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f605f4569e4a04bacd29263f3f28ae0fe893a75846a48b8f2ed05b796396ddb9f0add6ba7e1b30d906070fa174ea5faa74511b727e9d22a5b3abc3835c43cee7
|
7
|
+
data.tar.gz: 0a747e0ff628bbc5f7034d2ae120785fb7a999ff0cf11bd8b91100a38485ca83527ab81eb4b471e8eda333d9dba4bf3fd0fac7801835d203567f8355f7cbb646
|
data/README.md
CHANGED
@@ -188,7 +188,7 @@ def cfn(template)
|
|
188
188
|
end
|
189
189
|
|
190
190
|
case action
|
191
|
-
when 'help'
|
191
|
+
when 'help'
|
192
192
|
begin
|
193
193
|
# Give some basic usage.
|
194
194
|
help_string=%q(
|
@@ -560,7 +560,7 @@ template.rb create --stack-name my_stack --parameters "BucketName=bucket-s3-stat
|
|
560
560
|
update_stack_opts = {
|
561
561
|
stack_name: stack_name,
|
562
562
|
template_body: template_string,
|
563
|
-
parameters: template.parameters.map { |k,v| (v.use_previous_value && old_parameters
|
563
|
+
parameters: template.parameters.map { |k,v| (v.use_previous_value && old_parameters.include?([k,v])) ? {parameter_key: k, use_previous_value: v.use_previous_value.to_s} : {parameter_key: k, parameter_value: v}}.to_a,
|
564
564
|
tags: cfn_tags.map { |k,v| {"key" => k.to_s, "value" => v.to_s} }.to_a,
|
565
565
|
capabilities: ["CAPABILITY_NAMED_IAM"],
|
566
566
|
}
|
@@ -310,6 +310,8 @@ def not_equal(one, two) fn_not(equal(one,two)) end
|
|
310
310
|
|
311
311
|
def select(index, list) { :'Fn::Select' => [ index, list ] } end
|
312
312
|
|
313
|
+
def split(delimiter, source_str) { :'Fn::Split' => [delimiter, source_str] } end
|
314
|
+
|
313
315
|
def ref(name) { :Ref => name } end
|
314
316
|
|
315
317
|
def aws_account_id() ref("AWS::AccountId") end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudformation-ruby-dsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shawn Smith
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date:
|
18
|
+
date: 2017-01-26 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: detabulator
|