cloudformation-ruby-dsl 0.4.13 → 0.4.14
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: 43b15a686475d1acda20a772af580ab8804c27f8
|
4
|
+
data.tar.gz: 39959482afcaaf2ac04940e0e3aab6f666fb5257
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ffa2dbb8e19ef047f9601c7113bbdd69667cc3a266d6a3eeb6d59696d8cd969fdc9ef180178a7236a842673b4a09d21b02f3e1851202153272b03e56fc24040
|
7
|
+
data.tar.gz: 157629facd9413ae72a00798b143173b86a12ac4ce11261feb5b8a565dff27ecfbb386be59e0285a4f9c077a08678201eca44753500ad21598a832322acb36b1
|
@@ -62,6 +62,13 @@ def cfn_cmd(template)
|
|
62
62
|
|
63
63
|
# Tag CloudFormation stacks based on :Tags defined in the template
|
64
64
|
cfn_tags = template.excise_tags!
|
65
|
+
|
66
|
+
# Can't currently support spaces because the system() call escapes them and that fouls up the CLI
|
67
|
+
unless cfn_tags.select { |i| i =~ /\s+/ }.empty?
|
68
|
+
$stderr.puts "ERROR: Tag names or values cannot currently contain spaces. Please remove spaces and try again."
|
69
|
+
exit(2)
|
70
|
+
end
|
71
|
+
|
65
72
|
# The command line string looks like: --tag "Key=key; Value=value" --tag "Key2=key2; Value2=value"
|
66
73
|
cfn_tags_options = cfn_tags.sort.map { |tag| ["--tag", "Key=%s; Value=%s" % tag.split('=')] }.flatten
|
67
74
|
|
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: 0.4.
|
4
|
+
version: 0.4.14
|
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: 2015-04-
|
18
|
+
date: 2015-04-16 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: detabulator
|