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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b3dd7e6c596512b0f05ef8a8257bfa426560d19
4
- data.tar.gz: 7eaf7934ed5976d40699b81727c3a73c8a883875
3
+ metadata.gz: 63acf594595b78a9eafee5d3abc95758d98fc59b
4
+ data.tar.gz: 8edb6ef4b1779430320c1a2df7567192959a7e07
5
5
  SHA512:
6
- metadata.gz: b37850a0b795bac87eac9748ec86151f5b2ef35ce8e51708e03bba52c587d95d4c6aba27855a296bb3d324d34fc0c2dcd20d07805d556d5e5e02db716b2e0052
7
- data.tar.gz: ab11c52e99522111f6a2444f5f239b15b38e2e07975caf267dfc7d0424938fc4cbdd8d414219bfb87cda501c4603bf9fb8113baee99f244b87552312e35292b7
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
 
@@ -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).to_json + "\n"
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
 
@@ -1,3 +1,3 @@
1
1
  module CloudBuilder
2
- GEM_VERSION = "0.0.11"
2
+ GEM_VERSION = "0.0.12"
3
3
  end
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.11
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-01-15 00:00:00.000000000 Z
11
+ date: 2014-02-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: netaddr