lono 2.0.1 → 2.0.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 037410b99dc66db7c6b454b44cf5c358586186ca
|
4
|
+
data.tar.gz: cc6cff0b954f29d3ecad2987c4f83d402ab6e143
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23273b352a57b3953fcc857d8eaabd54a61d7915821319f741ff666bd23545f0284368be0d5e37e7e6255789545405343597240e0d2e5f79af120814549eb7e0
|
7
|
+
data.tar.gz: 3484ec7691010bf887d23cd5a596b922f3a23a7d87113aa28ec969d5aaf1315b9b10c056325a13fa7453bc13fc128626eee0be7cfb68c8a972f0d3b9dfd3c484
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -16,7 +16,7 @@ Lono is a tool for managing CloudFormation templates.
|
|
16
16
|
* Lono takes simple env-like files to and generates the CloudFormation parameter files.
|
17
17
|
* Lono wraps the CloudFormation api calls in a simple interface using the generated files to launch the CloudFormation stacks.
|
18
18
|
|
19
|
-
These blog posts lono:
|
19
|
+
These blog posts cover lono:
|
20
20
|
|
21
21
|
* [Why Generate CloudFormation Templates with Lono](https://medium.com/boltops/why-generate-cloudformation-templates-with-lono-65b8ea5eb87d)
|
22
22
|
* [Generating CloudFormation Templates with Lono](https://medium.com/boltops/generating-cloudformation-templates-with-lono-4709afa1299b)
|
@@ -213,7 +213,7 @@ There are helper methods that are available in templates.
|
|
213
213
|
If you have a lot of templates, the config/lono.rb file can get unwieldy long. You can break up the lono.rb file and put template defintions in the config/lono directory. Any file in this directory will be automatically loaded. An [example](lib/starter_project_yaml/config/lono/api.rb) is in the starter project.
|
214
214
|
|
215
215
|
|
216
|
-
##
|
216
|
+
## lono generate
|
217
217
|
|
218
218
|
You can generate the CloudFormation templates by running:
|
219
219
|
|
@@ -231,7 +231,7 @@ $ guard
|
|
231
231
|
# lono cfn
|
232
232
|
|
233
233
|
## Summary
|
234
|
-
Lono also provides a `lono cfn`
|
234
|
+
Lono also provides a `lono cfn` management command that allows you to launch stacks from the lono templates. The `lono cfn` tool automatically runs `lono generate` internally and then launches the CloudFormation stack all in one command. Provided that you are in a lono project and have a `my-stack` lono template definition. To create a stack you can simply run:
|
235
235
|
|
236
236
|
```
|
237
237
|
$ lono cfn create my-stack
|
data/lib/lono/version.rb
CHANGED
@@ -1,20 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
module Lono
|
4
|
-
class Param < Command
|
5
|
-
autoload :Help, 'lono/param/help'
|
6
|
-
autoload :Generator, 'lono/param/generator'
|
7
|
-
|
8
|
-
class_option :verbose, type: :boolean
|
9
|
-
class_option :noop, type: :boolean
|
10
|
-
class_option :mute, type: :boolean
|
11
|
-
class_option :project_root, desc: "project root to use", default: '.'
|
12
|
-
|
13
|
-
desc "generate NAME", "generate parameter json file for NAME"
|
14
|
-
long_desc Help.generate
|
15
|
-
option :path, desc: "Name of the source that maps to the params txt file. name -> params/NAME.txt. Use this to override the params/NAME.txt convention"
|
16
|
-
def generate
|
17
|
-
Generator.generate_all(options)
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
1
|
+
InstanceType=t2.micro
|
2
|
+
KeyName=default
|
@@ -1,20 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
module Lono
|
4
|
-
class Param < Command
|
5
|
-
autoload :Help, 'lono/param/help'
|
6
|
-
autoload :Generator, 'lono/param/generator'
|
7
|
-
|
8
|
-
class_option :verbose, type: :boolean
|
9
|
-
class_option :noop, type: :boolean
|
10
|
-
class_option :mute, type: :boolean
|
11
|
-
class_option :project_root, desc: "project root to use", default: '.'
|
12
|
-
|
13
|
-
desc "generate NAME", "generate parameter json file for NAME"
|
14
|
-
long_desc Help.generate
|
15
|
-
option :path, desc: "Name of the source that maps to the params txt file. name -> params/NAME.txt. Use this to override the params/NAME.txt convention"
|
16
|
-
def generate
|
17
|
-
Generator.generate_all(options)
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
1
|
+
InstanceType=t2.micro
|
2
|
+
KeyName=default
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lono
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
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-06-
|
11
|
+
date: 2017-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|