cloud_builder 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/cloud_builder/cli.rb +10 -1
- data/lib/cloud_builder/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: 63acf594595b78a9eafee5d3abc95758d98fc59b
|
|
4
|
+
data.tar.gz: 8edb6ef4b1779430320c1a2df7567192959a7e07
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fdaec273e3dbfcaaf2157555c152802338bff10c0faae5fa3e0c364977623a09b72959b156469111767ac14b7e9460f270062b944b0eb8de981fcec8b38e980f
|
|
7
|
+
data.tar.gz: 366a42951bd624f74e35fa59631749b5c7b6e442b22496f8f09ab7bf9d9850b1f611d93870a5382c037d1ff33657fbd680937982a11967b5270492e0dd4d68c7
|
data/README.md
CHANGED
|
@@ -49,6 +49,9 @@ See stacks/example.rb for an example stack.
|
|
|
49
49
|
|
|
50
50
|
## Changelog
|
|
51
51
|
|
|
52
|
+
### 0.0.12
|
|
53
|
+
- add --dummy flag; will add a dummy WaitConditionHandle to the stack to force updates in cases when only unused parameters or mappings are changed
|
|
54
|
+
|
|
52
55
|
### 0.0.11
|
|
53
56
|
- cli now uses AWS_DEFAULT_REGION instead of EC2_REGION
|
|
54
57
|
|
data/lib/cloud_builder/cli.rb
CHANGED
|
@@ -16,9 +16,18 @@ module CloudBuilder
|
|
|
16
16
|
option ["-d", "--diff"], :flag, "do a diff between the existing template in BUCKET and the generated template"
|
|
17
17
|
|
|
18
18
|
option ["-e", "--estimate"], :flag, "estimate template cost"
|
|
19
|
+
option ["-m", "--dummy"], :flag, "add a dummy WaitConditionHandle to the template"
|
|
19
20
|
|
|
20
21
|
def execute
|
|
21
|
-
template = CloudBuilder::Stack.new(stack)
|
|
22
|
+
template = CloudBuilder::Stack.new(stack)
|
|
23
|
+
|
|
24
|
+
if dummy?
|
|
25
|
+
template.resource "dummy" do
|
|
26
|
+
type "AWS::CloudFormation::WaitConditionHandle"
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
template = template.to_json + "\n"
|
|
22
31
|
|
|
23
32
|
cf = AWS::CloudFormation.new(:cloud_formation_endpoint => 'cloudformation.%s.amazonaws.com' % region)
|
|
24
33
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cloud_builder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sorin Stoiana
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-02-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: netaddr
|