lono-cfn 1.0.2 → 1.0.4
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 +4 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +9 -0
- data/Gemfile +2 -2
- data/Gemfile.lock +9 -9
- data/Guardfile +5 -5
- data/README.md +11 -2
- data/bin/lono-cfn +1 -1
- data/lib/lono-cfn.rb +10 -9
- data/lib/{lono_cfn → lono-cfn}/aws_services.rb +0 -0
- data/lib/{lono_cfn → lono-cfn}/base.rb +1 -1
- data/lib/{lono_cfn → lono-cfn}/cli.rb +2 -2
- data/lib/{lono_cfn → lono-cfn}/cli/help.rb +1 -1
- data/lib/lono-cfn/command.rb +23 -0
- data/lib/{lono_cfn → lono-cfn}/create.rb +0 -0
- data/lib/{lono_cfn → lono-cfn}/delete.rb +0 -0
- data/lib/{lono_cfn → lono-cfn}/plan.rb +0 -0
- data/lib/{lono_cfn → lono-cfn}/update.rb +0 -0
- data/lib/lono-cfn/util.rb +23 -0
- data/lib/lono-cfn/version.rb +3 -0
- data/lono_cfn.gemspec +1 -1
- data/vendor/lono-params/CHANGELOG.md +5 -0
- data/vendor/lono-params/Gemfile +2 -2
- data/vendor/lono-params/Gemfile.lock +3 -3
- data/vendor/lono-params/Guardfile +5 -5
- data/vendor/lono-params/bin/lono-params +1 -1
- data/vendor/lono-params/lib/lono-params.rb +4 -3
- data/vendor/lono-params/lib/{lono_params → lono-params}/cli.rb +3 -2
- data/vendor/lono-params/lib/{lono_params → lono-params}/cli/help.rb +1 -1
- data/vendor/lono-params/lib/lono-params/command.rb +23 -0
- data/vendor/lono-params/lib/{lono_params → lono-params}/generator.rb +0 -0
- data/vendor/lono-params/lib/{lono_params → lono-params}/version.rb +1 -1
- data/vendor/lono-params/{lono_params.gemspec → lono-params.gemspec} +1 -1
- metadata +21 -18
- data/lib/lono_cfn/util.rb +0 -17
- data/lib/lono_cfn/version.rb +0 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cce00749152f718ccb8edc814ae3fc05c65d94f5
|
|
4
|
+
data.tar.gz: d69c3c08a4165e3f8b77def7a06bc15dcb1a72be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e11817facf60121389255b1fa1aab57ab3051042faa6281bf356c1d0ab91c17c93d5cf7600d45ca32150a7c0b8c8a9d55245a35b415c4d091ac34b62adb0ea27
|
|
7
|
+
data.tar.gz: ec3826d45cc9264034f20e38a0bc9c1b0e914013548f53e5a890eaf5f14094a5cfc42d98f05826dede05abf038884f919416512bc2d9aad0f9568cab6e60d624
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.4.
|
|
1
|
+
2.4.1
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
|
5
5
|
|
|
6
|
+
## [1.0.4]
|
|
7
|
+
|
|
8
|
+
- rename lono_cfn -> lono-cfn
|
|
9
|
+
- allow --help or -h at the end of the command
|
|
10
|
+
|
|
11
|
+
## [1.0.3]
|
|
12
|
+
|
|
13
|
+
- do not generate lono params with --no-lono option
|
|
14
|
+
|
|
6
15
|
## [1.0.2]
|
|
7
16
|
|
|
8
17
|
- fix delete stack command
|
data/Gemfile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
source 'https://rubygems.org'
|
|
2
2
|
|
|
3
|
-
# Specify your gem's dependencies in
|
|
3
|
+
# Specify your gem's dependencies in lono-cfn.gemspec
|
|
4
4
|
gemspec
|
|
5
5
|
|
|
6
|
-
gem "codeclimate-test-reporter", group: :test, require: nil
|
|
6
|
+
gem "codeclimate-test-reporter", group: :test, require: nil
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
lono-cfn (1.0.
|
|
4
|
+
lono-cfn (1.0.3)
|
|
5
5
|
aws-sdk
|
|
6
6
|
colorize
|
|
7
7
|
hashie
|
|
@@ -20,13 +20,13 @@ GEM
|
|
|
20
20
|
minitest (~> 5.1)
|
|
21
21
|
thread_safe (~> 0.3, >= 0.3.4)
|
|
22
22
|
tzinfo (~> 1.1)
|
|
23
|
-
aws-sdk (2.9.
|
|
24
|
-
aws-sdk-resources (= 2.9.
|
|
25
|
-
aws-sdk-core (2.9.
|
|
23
|
+
aws-sdk (2.9.28)
|
|
24
|
+
aws-sdk-resources (= 2.9.28)
|
|
25
|
+
aws-sdk-core (2.9.28)
|
|
26
26
|
aws-sigv4 (~> 1.0)
|
|
27
27
|
jmespath (~> 1.0)
|
|
28
|
-
aws-sdk-resources (2.9.
|
|
29
|
-
aws-sdk-core (= 2.9.
|
|
28
|
+
aws-sdk-resources (2.9.28)
|
|
29
|
+
aws-sdk-core (= 2.9.28)
|
|
30
30
|
aws-sigv4 (1.0.0)
|
|
31
31
|
builder (3.2.3)
|
|
32
32
|
byebug (9.0.6)
|
|
@@ -56,14 +56,14 @@ GEM
|
|
|
56
56
|
guard
|
|
57
57
|
guard-compat
|
|
58
58
|
hashie (3.5.5)
|
|
59
|
-
i18n (0.8.
|
|
59
|
+
i18n (0.8.4)
|
|
60
60
|
jmespath (1.3.1)
|
|
61
61
|
json (2.1.0)
|
|
62
62
|
listen (3.1.5)
|
|
63
63
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
|
64
64
|
rb-inotify (~> 0.9, >= 0.9.7)
|
|
65
65
|
ruby_dep (~> 1.2)
|
|
66
|
-
lono (1.1.
|
|
66
|
+
lono (1.1.3)
|
|
67
67
|
colorize
|
|
68
68
|
guard
|
|
69
69
|
guard-cloudformation
|
|
@@ -131,4 +131,4 @@ DEPENDENCIES
|
|
|
131
131
|
rspec
|
|
132
132
|
|
|
133
133
|
BUNDLED WITH
|
|
134
|
-
1.
|
|
134
|
+
1.15.0
|
data/Guardfile
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
guard 'rspec' do
|
|
2
2
|
watch(%r{^spec/.+_spec\.rb$})
|
|
3
|
-
watch(%r{^lib/(.+)\.rb$}) { "spec/
|
|
4
|
-
watch(%r{^lib/
|
|
5
|
-
watch('spec/spec_helper.rb') { "spec/
|
|
6
|
-
watch(%r{^lib/
|
|
3
|
+
watch(%r{^lib/(.+)\.rb$}) { "spec/lono-cfn_spec.rb" }
|
|
4
|
+
watch(%r{^lib/lono-cfn/(.+)\.rb$}) { "spec/lono-cfn_spec.rb" }
|
|
5
|
+
watch('spec/spec_helper.rb') { "spec/lono-cfn_spec.rb" }
|
|
6
|
+
watch(%r{^lib/lono-cfn/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
guard 'bundler' do
|
|
10
10
|
watch('Gemfile')
|
|
11
11
|
watch(/^.+\.gemspec/)
|
|
12
|
-
end
|
|
12
|
+
end
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://circleci.com/gh/tongueroo/lono-cfn)
|
|
4
4
|
|
|
5
|
-
Wrapper cfn tool to quickly create CloudFormation stacks from [lono templates](https://github.com/tongueroo/lono) and [lono-params](https://github.com/tongueroo/lono-params) files.
|
|
5
|
+
Wrapper cfn tool to quickly create CloudFormation stacks from [lono templates](https://github.com/tongueroo/lono) and [lono-params](https://github.com/tongueroo/lono-params) files. Examples:
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
$ lono-cfn create my-stack-$(date +%s) --template my-template --params my-params
|
|
@@ -17,7 +17,16 @@ The above command:
|
|
|
17
17
|
2. Generate a parameters file from the `params/my-params.txt`.
|
|
18
18
|
3. Launch the CloudFormation stack with those parameters.
|
|
19
19
|
|
|
20
|
-
This tool is meant to be used in conjuction with [lono](https://github.com/tongueroo/lono) but can also be used separately with the `--no-lono` flag, which skips the
|
|
20
|
+
This tool is meant to be used in conjuction with [lono](https://github.com/tongueroo/lono) but can also be used separately with the `--no-lono` flag, which skips the lono generation steps.
|
|
21
|
+
|
|
22
|
+
These blog posts cover both lono and lono-cfn:
|
|
23
|
+
|
|
24
|
+
* [Why Generate CloudFormation Templates with Lono](https://medium.com/boltops/why-generate-cloudformation-templates-with-lono-65b8ea5eb87d)
|
|
25
|
+
* [Generating CloudFormation Templates with Lono](https://medium.com/boltops/generating-cloudformation-templates-with-lono-4709afa1299b)
|
|
26
|
+
* [AutoScaling CloudFormation Template with Lono](https://medium.com/boltops/autoscaling-cloudformation-template-with-lono-3dc520480c5f)
|
|
27
|
+
* [CloudFormation Tools: lono, lono-params and lono-cfn Together
|
|
28
|
+
](https://medium.com/boltops/cloudformation-tools-lono-lono-params-and-lono-cfn-play-together-620af51e616)
|
|
29
|
+
* [AWS CloudFormation dry-run with lono-cfn plan](https://medium.com/boltops/aws-cloudformation-dry-run-with-lono-cfn-plan-2a1e0f80d13c)
|
|
21
30
|
|
|
22
31
|
## Installation
|
|
23
32
|
|
data/bin/lono-cfn
CHANGED
data/lib/lono-cfn.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
$:.unshift(File.expand_path("../", __FILE__))
|
|
2
|
-
require "
|
|
2
|
+
require "lono-cfn/version"
|
|
3
3
|
|
|
4
4
|
require "colorize"
|
|
5
5
|
|
|
@@ -8,12 +8,13 @@ $:.unshift(File.expand_path("../../vendor/lono-params/lib", __FILE__))
|
|
|
8
8
|
require "lono-params"
|
|
9
9
|
|
|
10
10
|
module LonoCfn
|
|
11
|
-
autoload :
|
|
12
|
-
autoload :
|
|
13
|
-
autoload :
|
|
14
|
-
autoload :
|
|
15
|
-
autoload :
|
|
16
|
-
autoload :
|
|
17
|
-
autoload :
|
|
18
|
-
autoload :
|
|
11
|
+
autoload :Command, 'lono-cfn/command'
|
|
12
|
+
autoload :AwsServices, 'lono-cfn/aws_services'
|
|
13
|
+
autoload :Util, 'lono-cfn/util'
|
|
14
|
+
autoload :CLI, 'lono-cfn/cli'
|
|
15
|
+
autoload :Base, 'lono-cfn/base'
|
|
16
|
+
autoload :Create, 'lono-cfn/create'
|
|
17
|
+
autoload :Update, 'lono-cfn/update'
|
|
18
|
+
autoload :Delete, 'lono-cfn/delete'
|
|
19
|
+
autoload :Plan, 'lono-cfn/plan'
|
|
19
20
|
end
|
|
File without changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
require "thor"
|
|
2
|
-
require "
|
|
2
|
+
require "lono-cfn/cli/help"
|
|
3
3
|
|
|
4
4
|
module LonoCfn
|
|
5
5
|
|
|
6
|
-
class CLI <
|
|
6
|
+
class CLI < Command
|
|
7
7
|
class_option :verbose, type: :boolean
|
|
8
8
|
class_option :noop, type: :boolean
|
|
9
9
|
class_option :project_root, desc: "Project folder. Defaults to current directory", default: "."
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
module LonoCfn
|
|
2
|
+
class Command < Thor
|
|
3
|
+
class << self
|
|
4
|
+
def dispatch(m, args, options, config)
|
|
5
|
+
# Allow calling for help via:
|
|
6
|
+
# ufo docker help
|
|
7
|
+
# ufo docker -h
|
|
8
|
+
# ufo docker --help
|
|
9
|
+
# ufo docker -D
|
|
10
|
+
#
|
|
11
|
+
# as well thor's nomral setting as
|
|
12
|
+
#
|
|
13
|
+
# ufo help docker
|
|
14
|
+
help_flags = Thor::HELP_MAPPINGS + ["help"]
|
|
15
|
+
if args.length > 1 && !(args & help_flags).empty?
|
|
16
|
+
args -= help_flags
|
|
17
|
+
args.insert(-2, "help")
|
|
18
|
+
end
|
|
19
|
+
super
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
module LonoCfn
|
|
2
|
+
module Util
|
|
3
|
+
def are_you_sure?(action)
|
|
4
|
+
if @options[:sure]
|
|
5
|
+
sure = 'y'
|
|
6
|
+
else
|
|
7
|
+
message = case action
|
|
8
|
+
when :update
|
|
9
|
+
"Are you sure you want to want to update the stack with the changes? (y/N)"
|
|
10
|
+
when :delete
|
|
11
|
+
"Are you sure you want to want to delete the stack with the changes? (y/N)"
|
|
12
|
+
end
|
|
13
|
+
puts message
|
|
14
|
+
sure = $stdin.gets
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
unless sure =~ /^y/
|
|
18
|
+
puts "Exiting without #{action}"
|
|
19
|
+
exit 0
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
data/lono_cfn.gemspec
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
|
5
5
|
|
|
6
|
+
## [1.0.0]
|
|
7
|
+
- allow --help or -h at the end of the command
|
|
8
|
+
- rename lono_params -> lono-params
|
|
9
|
+
- major version bump. been in used and tested for a while now
|
|
10
|
+
|
|
6
11
|
## [0.1.1]
|
|
7
12
|
|
|
8
13
|
- fix specs
|
data/vendor/lono-params/Gemfile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
source 'https://rubygems.org'
|
|
2
2
|
|
|
3
|
-
# Specify your gem's dependencies in
|
|
3
|
+
# Specify your gem's dependencies in lono-params.gemspec
|
|
4
4
|
gemspec
|
|
5
5
|
|
|
6
|
-
gem "codeclimate-test-reporter", group: :test, require: nil
|
|
6
|
+
gem "codeclimate-test-reporter", group: :test, require: nil
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
lono-params (0.
|
|
4
|
+
lono-params (1.0.0)
|
|
5
5
|
colorize
|
|
6
6
|
hashie
|
|
7
7
|
json
|
|
@@ -26,7 +26,7 @@ GEM
|
|
|
26
26
|
diff-lcs (1.3)
|
|
27
27
|
docile (1.1.5)
|
|
28
28
|
hashie (3.5.5)
|
|
29
|
-
i18n (0.8.
|
|
29
|
+
i18n (0.8.4)
|
|
30
30
|
json (2.1.0)
|
|
31
31
|
minitest (5.10.2)
|
|
32
32
|
plissken (0.3.0)
|
|
@@ -70,4 +70,4 @@ DEPENDENCIES
|
|
|
70
70
|
rspec
|
|
71
71
|
|
|
72
72
|
BUNDLED WITH
|
|
73
|
-
1.
|
|
73
|
+
1.15.0
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
guard 'rspec' do
|
|
2
2
|
watch(%r{^spec/.+_spec\.rb$})
|
|
3
|
-
watch(%r{^lib/(.+)\.rb$}) { "spec/
|
|
4
|
-
watch(%r{^lib/
|
|
5
|
-
watch('spec/spec_helper.rb') { "spec/
|
|
6
|
-
watch(%r{^lib/
|
|
3
|
+
watch(%r{^lib/(.+)\.rb$}) { "spec/lono-params_spec.rb" }
|
|
4
|
+
watch(%r{^lib/lono-params/(.+)\.rb$}) { "spec/lono-params_spec.rb" }
|
|
5
|
+
watch('spec/spec_helper.rb') { "spec/lono-params_spec.rb" }
|
|
6
|
+
watch(%r{^lib/lono-params/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
guard 'bundler' do
|
|
10
10
|
watch('Gemfile')
|
|
11
11
|
watch(/^.+\.gemspec/)
|
|
12
|
-
end
|
|
12
|
+
end
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
$:.unshift(File.expand_path("../", __FILE__))
|
|
2
|
-
require "
|
|
2
|
+
require "lono-params/version"
|
|
3
3
|
|
|
4
4
|
require "json"
|
|
5
5
|
require "fileutils"
|
|
6
6
|
require 'plissken' # Hash#to_snake_keys
|
|
7
7
|
|
|
8
8
|
module LonoParams
|
|
9
|
-
autoload :CLI, '
|
|
10
|
-
autoload :
|
|
9
|
+
autoload :CLI, 'lono-params/command'
|
|
10
|
+
autoload :CLI, 'lono-params/cli'
|
|
11
|
+
autoload :Generator, 'lono-params/generator'
|
|
11
12
|
end
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
require 'thor'
|
|
2
|
-
require '
|
|
2
|
+
require 'lono-params/command'
|
|
3
|
+
require 'lono-params/cli/help'
|
|
3
4
|
|
|
4
5
|
module LonoParams
|
|
5
6
|
|
|
6
|
-
class CLI <
|
|
7
|
+
class CLI < Command
|
|
7
8
|
class_option :verbose, type: :boolean
|
|
8
9
|
class_option :noop, type: :boolean
|
|
9
10
|
class_option :project_root, desc: "project root to use", default: '.'
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
module LonoParams
|
|
2
|
+
class Command < Thor
|
|
3
|
+
class << self
|
|
4
|
+
def dispatch(m, args, options, config)
|
|
5
|
+
# Allow calling for help via:
|
|
6
|
+
# ufo docker help
|
|
7
|
+
# ufo docker -h
|
|
8
|
+
# ufo docker --help
|
|
9
|
+
# ufo docker -D
|
|
10
|
+
#
|
|
11
|
+
# as well thor's nomral setting as
|
|
12
|
+
#
|
|
13
|
+
# ufo help docker
|
|
14
|
+
help_flags = Thor::HELP_MAPPINGS + ["help"]
|
|
15
|
+
if args.length > 1 && !(args & help_flags).empty?
|
|
16
|
+
args -= help_flags
|
|
17
|
+
args.insert(-2, "help")
|
|
18
|
+
end
|
|
19
|
+
super
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lono-cfn
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tung Nguyen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-06-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -173,16 +173,17 @@ files:
|
|
|
173
173
|
- bin/lono-cfn
|
|
174
174
|
- circle.yml
|
|
175
175
|
- lib/lono-cfn.rb
|
|
176
|
-
- lib/
|
|
177
|
-
- lib/
|
|
178
|
-
- lib/
|
|
179
|
-
- lib/
|
|
180
|
-
- lib/
|
|
181
|
-
- lib/
|
|
182
|
-
- lib/
|
|
183
|
-
- lib/
|
|
184
|
-
- lib/
|
|
185
|
-
- lib/
|
|
176
|
+
- lib/lono-cfn/aws_services.rb
|
|
177
|
+
- lib/lono-cfn/base.rb
|
|
178
|
+
- lib/lono-cfn/cli.rb
|
|
179
|
+
- lib/lono-cfn/cli/help.rb
|
|
180
|
+
- lib/lono-cfn/command.rb
|
|
181
|
+
- lib/lono-cfn/create.rb
|
|
182
|
+
- lib/lono-cfn/delete.rb
|
|
183
|
+
- lib/lono-cfn/plan.rb
|
|
184
|
+
- lib/lono-cfn/update.rb
|
|
185
|
+
- lib/lono-cfn/util.rb
|
|
186
|
+
- lib/lono-cfn/version.rb
|
|
186
187
|
- lono_cfn.gemspec
|
|
187
188
|
- spec/fixtures/my_project/config/lono.rb
|
|
188
189
|
- spec/fixtures/my_project/output/my-stack.json
|
|
@@ -199,12 +200,14 @@ files:
|
|
|
199
200
|
- vendor/lono-params/Rakefile
|
|
200
201
|
- vendor/lono-params/bin/lono-params
|
|
201
202
|
- vendor/lono-params/lib/lono-params.rb
|
|
202
|
-
- vendor/lono-params/lib/
|
|
203
|
-
- vendor/lono-params/lib/
|
|
204
|
-
- vendor/lono-params/lib/
|
|
205
|
-
- vendor/lono-params/lib/
|
|
206
|
-
- vendor/lono-params/
|
|
203
|
+
- vendor/lono-params/lib/lono-params/cli.rb
|
|
204
|
+
- vendor/lono-params/lib/lono-params/cli/help.rb
|
|
205
|
+
- vendor/lono-params/lib/lono-params/command.rb
|
|
206
|
+
- vendor/lono-params/lib/lono-params/generator.rb
|
|
207
|
+
- vendor/lono-params/lib/lono-params/version.rb
|
|
208
|
+
- vendor/lono-params/lono-params.gemspec
|
|
207
209
|
- vendor/lono-params/pkg/lono-params-0.0.6.gem
|
|
210
|
+
- vendor/lono-params/pkg/lono-params-1.0.0.gem
|
|
208
211
|
- vendor/lono-params/spec/fixtures/my_project/output/params/my-stack.json
|
|
209
212
|
- vendor/lono-params/spec/fixtures/my_project/params/my-stack.txt
|
|
210
213
|
- vendor/lono-params/spec/lib/cli_spec.rb
|
|
@@ -229,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
229
232
|
version: '0'
|
|
230
233
|
requirements: []
|
|
231
234
|
rubyforge_project:
|
|
232
|
-
rubygems_version: 2.6.
|
|
235
|
+
rubygems_version: 2.6.11
|
|
233
236
|
signing_key:
|
|
234
237
|
specification_version: 4
|
|
235
238
|
summary: Wrapper cfn tool to quickly create CloudFormation stacks from lono templates
|
data/lib/lono_cfn/util.rb
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
module LonoCfn
|
|
2
|
-
module Util
|
|
3
|
-
def are_you_sure?(action)
|
|
4
|
-
if @options[:sure]
|
|
5
|
-
sure = 'y'
|
|
6
|
-
else
|
|
7
|
-
puts "Are you sure you want to want to #{action} the stack with the changes? (y/N)"
|
|
8
|
-
sure = $stdin.gets
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
unless sure =~ /^y/
|
|
12
|
-
puts "Exiting without #{action}"
|
|
13
|
-
exit 0
|
|
14
|
-
end
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
data/lib/lono_cfn/version.rb
DELETED