aws-sdk-utils 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/cfndsl_converge +18 -0
- data/bin/yaml_get +8 -0
- metadata +20 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd63040fe954adff72101373ea6976cf5344a14a
|
4
|
+
data.tar.gz: 58dc77c2acf00dd5a5751998666b7f147ab5dd1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b6c27bece1ac6dd0803699e83983e6b9e2006e2509f6c170f10eff6f9b07e077d9e8a6370f0fee0169c699433fae178a3390e9c2d113ff7623873ce8dcb84e1
|
7
|
+
data.tar.gz: 652018550f25932a05c904907be5977f070c9c5dd0a66abb1866f872f6afbdbaa94e5b7a93faaabdd5a2cc89f6ddbf1ae13f2cfc42f39524e2637efcc31b2226
|
data/bin/cfndsl_converge
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'trollop'
|
3
|
+
require 'cfndsl_converger'
|
4
|
+
require 'yaml'
|
5
|
+
|
6
|
+
opts = Trollop::options do
|
7
|
+
opt :path_to_stack, '', type: :string, required: true
|
8
|
+
opt :stack_name, '', type: :string, required: true
|
9
|
+
opt :path_to_yaml, '', type: :string, required: false
|
10
|
+
end
|
11
|
+
|
12
|
+
bindings = opts[:path_to_yaml].nil? ? nil : YAML.load_file(opts[:path_to_yaml])
|
13
|
+
|
14
|
+
outputs = CfndslConverger.new.converge(stack_name: opts[:stack_name],
|
15
|
+
path_to_stack: opts[:path_to_stack],
|
16
|
+
bindings: bindings)
|
17
|
+
|
18
|
+
puts outputs.to_yaml
|
data/bin/yaml_get
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- someguy
|
@@ -38,12 +38,30 @@ dependencies:
|
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.4.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: trollop
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.1.2
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.1.2
|
41
55
|
description: Low level utilities for dealing with AWS SDK
|
42
56
|
email:
|
43
|
-
executables:
|
57
|
+
executables:
|
58
|
+
- cfndsl_converge
|
59
|
+
- yaml_get
|
44
60
|
extensions: []
|
45
61
|
extra_rdoc_files: []
|
46
62
|
files:
|
63
|
+
- bin/cfndsl_converge
|
64
|
+
- bin/yaml_get
|
47
65
|
- lib/aws-sdk-utils.rb
|
48
66
|
- lib/cfndsl_converger.rb
|
49
67
|
- lib/cloudformation_converger.rb
|