stackup 1.4.3 → 1.4.4

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
  SHA256:
3
- metadata.gz: 01e367ca4b2044872b8bffc12075970ad962f5542e143a3d8f47cc6cd9ec6773
4
- data.tar.gz: a3b4dd683a84e01885ffdc60ec306e18d212e24fefddec660cd451b8ca8c5d23
3
+ metadata.gz: d7780d13ca055272558fc31b1e074d1a6721698dec9b5d8feb63cf737dcff8af
4
+ data.tar.gz: 04bb0928aeb6b22510873ee5d9898c31a7ea891bce2c5cf0828061dfafe03b71
5
5
  SHA512:
6
- metadata.gz: 1fc1090d8365094a4ec26df52d8f4ba745d5ff9dc275001630d4ebb013a7673105d658749ee0d3214da89c1559c0acbaa3a5f9ee1cb17ab8e643ab16436d0ac0
7
- data.tar.gz: 578e511731086edfe83a22245bde31c50ec8c194504772f6f4ae3cd2ac56fe5819e2adfc2c11e34b576e07071207f70b2f3f2c38f61d16a0ca74f639e1668333
6
+ metadata.gz: b9fcf5e6ae3dabfb016c12d88f40ef99f351d9474f2a2788f24c1b7fdc75f61144a4c93cdd6dbbdb43db952e27a6b282670d1a66873e3d99547cdf70da6bc63f
7
+ data.tar.gz: 985b673ed7b8b500f341f275cec37bedf47b8ead6e1ba1d627baeb41ba89b4a5da2ea9307f55d4741b831ff5d6617a2576a05325b1941b9b1351890bd115cfea
data/CHANGES.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGES
2
2
 
3
+ ## 1.4.4 (2019-10-03)
4
+
5
+ * Fix: Loading RakeTasks
6
+ * Removes CI support for older rubies
7
+
3
8
  ## 1.4.3 (2019-09-05)
4
9
 
5
10
  * Add support for CloudFormation capabilities via CLI and Rake
data/README.md CHANGED
@@ -116,6 +116,23 @@ Or, you can specify one or more override parameters on the command-line, using `
116
116
  -o IndexDoc=index-override.html
117
117
  -o ContentDoc=content-override.html
118
118
 
119
+ ### Acknowledging Capabilities
120
+
121
+ CloudFormation requires that some stacks explicitly acknowledge certain capabilities before creation. This helps to prevent the creation of stacks with unintended privileges.
122
+
123
+ If your stack includes IAM resources, you must specify either the `CAPABILITY_IAM` capability, or the `CAPABILITY_NAMED_IAM` capability if they have custom names.
124
+
125
+ If your stack template contains macros or nested stacks, you must specify the `CAPABILITY_AUTO_EXPAND` capability.
126
+
127
+ Capabilities can be provided via the `--capability` CLI option.
128
+
129
+ $ stackup myapp-test up -t template.json \
130
+ --capability CAPABILITY_NAMED_IAM \
131
+ --capability CAPABILITY_AUTO_EXPAND
132
+
133
+ `stackup` includes defaults to including `CAPABILITY_NAMED_IAM` capability if, and only if, no capabilities are specified.
134
+ This is to provide backwards compatibility with previously deployed stacks and may be removed in a future release.
135
+
119
136
  ### YAML support
120
137
 
121
138
  `stackup` supports input files (template, parameters, tags) in YAML format, as well as JSON.
@@ -1,7 +1,7 @@
1
1
  require "rake/tasklib"
2
2
  require "tempfile"
3
3
  require "yaml"
4
- require "Pathname"
4
+ require "pathname"
5
5
 
6
6
  module Stackup
7
7
 
@@ -1,5 +1,5 @@
1
1
  module Stackup
2
2
 
3
- VERSION = "1.4.3".freeze
3
+ VERSION = "1.4.4".freeze
4
4
 
5
5
  end
@@ -0,0 +1,8 @@
1
+ require 'spec_helper'
2
+ require 'stackup/rake_tasks'
3
+
4
+ RSpec.describe Stackup::RakeTasks do
5
+ it 'can be required' do
6
+ expect(described_class).to be_truthy
7
+ end
8
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stackup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Williams
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-09-05 00:00:00.000000000 Z
12
+ date: 2019-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk-cloudformation
@@ -110,6 +110,7 @@ files:
110
110
  - lib/stackup/yaml.rb
111
111
  - spec/spec_helper.rb
112
112
  - spec/stackup/parameters_spec.rb
113
+ - spec/stackup/rake_tasks_spec.rb
113
114
  - spec/stackup/source_spec.rb
114
115
  - spec/stackup/stack_spec.rb
115
116
  - spec/stackup/stack_watcher_spec.rb
@@ -141,6 +142,7 @@ summary: Manage CloudFormation stacks
141
142
  test_files:
142
143
  - spec/spec_helper.rb
143
144
  - spec/stackup/parameters_spec.rb
145
+ - spec/stackup/rake_tasks_spec.rb
144
146
  - spec/stackup/source_spec.rb
145
147
  - spec/stackup/stack_spec.rb
146
148
  - spec/stackup/stack_watcher_spec.rb