convection 1.0.5 → 1.0.6

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: 6eb0cecf4e873a75c7abf850b795786837b85cb2
4
- data.tar.gz: b2704f598ff92807862d823806328c539e89b52a
3
+ metadata.gz: 7679ad3f1a59e495a7209ef087728b18157084b2
4
+ data.tar.gz: 621c413762515db0494ffe8a48aad0c5e5d1d3da
5
5
  SHA512:
6
- metadata.gz: 20866250ab205d749bd82acf22ed8524a45304dfab396a36a1cc40ec61fe7fd22fe18451cbc1d8e76390afe47cdb13e0d1b7595e543611c617b89179faad867a
7
- data.tar.gz: 8f1594eca1eb71c617be8a90e70e2502c584346c88b5c00575cb9b408fdb7ffd823f9203a49df6ca63ecd36378a2328e3fda2a466f8dc6bd9c5c6dcf1bbeebb5
6
+ metadata.gz: 1d5a7ad39242fae59ec4016f2a35381b2514f25e96a2df4f6068d3a3985e2048361772cd0424c8f304386bae5745d8f76e036e52149a79a82a43ef4026cfa427
7
+ data.tar.gz: a98ce38522d8b873f74ea8fcd5a7ec97c634532ef76b97c8a190d76a9c4338e35e975b364256ed3c02672f8d7ce00a52cd1a0cb3a9f73099d7ff2494222e5c00
data/README.md ADDED
@@ -0,0 +1 @@
1
+ docs/index.md
data/bin/convection CHANGED
@@ -240,7 +240,7 @@ module Convection
240
240
 
241
241
  errors.each do |error|
242
242
  error = RuntimeError.new(error) if error.is_a?(String)
243
- say "* #{ error_message }"
243
+ say "* #{ error.message }"
244
244
  error.backtrace.each { |trace| say " #{ trace }" }
245
245
  end
246
246
  end
@@ -12,6 +12,7 @@ module Convection
12
12
  extend Forwardable
13
13
 
14
14
  type 'AWS::IAM::Policy'
15
+ property :policy_name, 'PolicyName'
15
16
  property :group, 'Groups', :type => :list,
16
17
  :transform => (proc do |resource|
17
18
  depends_on(resource)
@@ -56,12 +56,13 @@ module Convection
56
56
  include DSL::Template::Resource::IAMUser
57
57
 
58
58
  type 'AWS::IAM::User'
59
- property :path, 'Path'
60
- property :login_profile, 'LoginProfile'
61
59
  property :group, 'Groups', :type => :list
62
- property :policies, 'Policies', :type => :list
60
+ property :login_profile, 'LoginProfile'
63
61
  property :managed_policy_arn, 'ManagedPolicyArns', :type => :list
64
62
  alias managed_policy managed_policy_arn
63
+ property :path, 'Path'
64
+ property :policies, 'Policies', :type => :list
65
+ property :user_name, 'UserName'
65
66
  end
66
67
  end
67
68
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: convection
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Manero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-26 00:00:00.000000000 Z
11
+ date: 2017-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -329,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
329
329
  version: '0'
330
330
  requirements: []
331
331
  rubyforge_project:
332
- rubygems_version: 2.4.3
332
+ rubygems_version: 2.5.1
333
333
  signing_key:
334
334
  specification_version: 4
335
335
  summary: A fully generic, modular DSL for AWS CloudFormation
data/README.md DELETED
@@ -1,51 +0,0 @@
1
- # Convection [![Build Status](https://api.travis-ci.org/rapid7/convection.svg?branch=master)](https://travis-ci.org/rapid7/convection)
2
- _A fully generic, modular DSL for AWS CloudFormation_
3
-
4
- This gem aims to provide a reusable model for AWS CloudFormation in Ruby. It exposes a DSL for template definition, and a simple, decoupled abstraction of a CloudFormation Stack to compile and apply templates.
5
-
6
- ## Contributing
7
- Please read our [Contributing guidelines](.github/CONTRIBUTING.md) for more information on contributing to Convection.
8
-
9
- ## Installation
10
- Add this line to your application's Gemfile:
11
-
12
- ```ruby
13
- gem 'convection'
14
- ```
15
-
16
- And then execute:
17
-
18
- $ bundle
19
-
20
- Or install it yourself as:
21
-
22
- $ gem install convection
23
-
24
- ##CLI Commands
25
- ###### Converging
26
- - To converge all stacks in your cloudfile run `convection converge` in the same directory as your cloudfile or use `--cloudfiles` and specify the path to the cloudfile. If you provide the name of your stack as a additional argument such as `convection converge my-stack-name` then all stacks above and including the stack you specified will be converged.
27
- - To converge a stack group run `convection converge --stack_group YOUR_STACK_GROUP_NAME`
28
- - To converge a specific stack or a list of stacks run `convection converge --stacks stackA stackB ...`
29
- - To converge multiple cloudfiles at the same time run use the `--cloudfiles` option providing the path to the cloudfiles. Example `bundle exec convection converge --cloudfiles us-east-1/Cloudfile eu-central-1/Cloudfile`
30
-
31
- ###### Diff
32
- - To display a diff between your local changes and the version of your stack in cloud formation of your changes run `convection diff`.
33
- - To diff the changes in a stack group run `convection diff --stack_group YOUR_STACK_GROUP_NAME`
34
- - To diff the changes for a specific stack or a list of stacks run `convection diff --stacks stackA stackB ...`
35
-
36
- ###### Help
37
- - To print out a list of available cli options with their descriptions run `convection help`.
38
-
39
- ###### Print
40
- - To print out the cloud formation template for a specific stack run `convection print-template my-stack-name`.
41
-
42
- ###### Validate
43
- - To validate your stack is not missing a required resource run `convection validate my-stack-name`.
44
-
45
- ## Documentation
46
- We highly recommend consulting the [getting started guide](./docs/getting-started.md) for a in depth walk through on how to to set up your project and create and deploy a stack. Example stacks and resources are available in the [convection/example](https://github.com/rapid7/convection/tree/master/example) folder
47
-
48
- Additionally you can generate the Ruby API documentation by executing `bundle exec rake yard`.
49
-
50
- ## License
51
- Convection is distributed under the MIT license - please refer to the [LICENSE](LICENSE.md) for more information.