stackup 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +29 -0
- data/lib/stackup/parameters.rb +1 -0
- data/lib/stackup/version.rb +1 -1
- data/spec/stackup/parameters_spec.rb +17 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f55503b308cdd370ea8bc46922ad2acbc9567886
|
4
|
+
data.tar.gz: 2b623ad6f1352d455ff3693b5e89a0dca11aec71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58ab92b1218ba18e61b0d2bcab092963f8215436e26122ee9d43e8f6568871ec9c19472864fced2068ead2c1a0a307a43c00838451605ba9cbbdcb4ec489cf80
|
7
|
+
data.tar.gz: 9a0f8d2415a2dc15c7a09177845ca395d2eefd11ee1184eddae1903580b703a41769338719dab03177cd2c3029374e4ae36aecfd0a7c392f2a71d69c4b956b1a
|
data/README.md
CHANGED
@@ -216,3 +216,32 @@ If you're sensible, you'll replace "latest", with a specific [version](https://r
|
|
216
216
|
|
217
217
|
The default working-directory within the container is `/cwd`;
|
218
218
|
hence the volume mount to make files available from the host system.
|
219
|
+
|
220
|
+
## IAM Permissions
|
221
|
+
|
222
|
+
### up
|
223
|
+
|
224
|
+
This policy grants the principal all actions required by `stackup up` for any cloudformation stack:
|
225
|
+
|
226
|
+
```
|
227
|
+
{
|
228
|
+
"Version": "2012-10-17",
|
229
|
+
"Statement": [
|
230
|
+
{
|
231
|
+
"Effect": "Allow",
|
232
|
+
"Action": [
|
233
|
+
"cloudformation:CreateStack",
|
234
|
+
"cloudformation:DeleteStack",
|
235
|
+
"cloudformation:DescribeStackEvents",
|
236
|
+
"cloudformation:DescribeStackResource",
|
237
|
+
"cloudformation:DescribeStacks",
|
238
|
+
"cloudformation:SetStackPolicy",
|
239
|
+
"cloudformation:UpdateStack"
|
240
|
+
],
|
241
|
+
"Resource": [
|
242
|
+
"*"
|
243
|
+
]
|
244
|
+
}
|
245
|
+
]
|
246
|
+
}
|
247
|
+
```
|
data/lib/stackup/parameters.rb
CHANGED
data/lib/stackup/version.rb
CHANGED
@@ -143,6 +143,23 @@ describe Stackup::Parameters do
|
|
143
143
|
end
|
144
144
|
|
145
145
|
end
|
146
|
+
|
147
|
+
context "with empty parameter file" do
|
148
|
+
|
149
|
+
let(:input_records) { false }
|
150
|
+
|
151
|
+
subject(:parameters) { Stackup::Parameters.new(input_records) }
|
152
|
+
|
153
|
+
describe "#to_hash" do
|
154
|
+
|
155
|
+
it "doesn't crash" do
|
156
|
+
expected = {}
|
157
|
+
expect(parameters.to_hash).to eql(expected)
|
158
|
+
end
|
159
|
+
|
160
|
+
end
|
161
|
+
|
162
|
+
end
|
146
163
|
|
147
164
|
end
|
148
165
|
|
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.2.
|
4
|
+
version: 1.2.1
|
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: 2017-
|
12
|
+
date: 2017-12-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk-resources
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.
|
137
|
+
rubygems_version: 2.6.14
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: Manage CloudFormation stacks
|