aws-must 0.0.4 → 0.0.5
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/README.md +1 -1
- data/demo/1/root.mustache +3 -2
- data/demo/2/root.mustache +33 -2
- data/demo/3/root.mustache +18 -2
- data/demo/4/root.mustache +15 -1
- data/demo/5/root.mustache +18 -1
- data/demo/6/root.mustache +18 -1
- data/demo/7/root.mustache +27 -1
- data/demo/8/root.mustache +32 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b89b1de055c4e34d2236dfc4cf7b9e76b1b092ad
|
|
4
|
+
data.tar.gz: a225139880451b8b2509b1c20e78fa578d585d0d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9429a6f6b26fb185849cb335c3ac0cbc8f99ac38a9aa42a40eb3686eb195ed6faff1d6c1eba5ab08d9b49abd8c8e6fa535018ed244c78ec26f6febef8a0759c3
|
|
7
|
+
data.tar.gz: e9b056172c1fa74ceaa799fcaaebef1908cc5681793e11dbd5cc954d73ce335b0f7ad843b3751237a2ce9c58ae3a1fe8d571c4938edc263b843009dbda21cd4f
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# aws-must - Minimum Viable Solution to Manage CloudFormation Templates - $Release:0.0.
|
|
1
|
+
# aws-must - Minimum Viable Solution to Manage CloudFormation Templates - $Release:0.0.5$
|
|
2
2
|
|
|
3
3
|
`aws-must` is a tool, which allows separating infrastructure
|
|
4
4
|
configuration and Amazon related syntax in CloudFormation JSON
|
data/demo/1/root.mustache
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{{!
|
|
2
2
|
+++start+++
|
|
3
3
|
|
|
4
|
-
# <a id="top">aws-must demo 1
|
|
4
|
+
# <a id="top">aws-must demo 1 template</a>
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
Create a `t2.micro` EC2 instance for AMI `ami-00dae61d`. Supports
|
|
7
|
+
only region `eu-central-1`. No ssh connection allowed by default.
|
|
7
8
|
|
|
8
9
|
+++close+++
|
|
9
10
|
}}
|
data/demo/2/root.mustache
CHANGED
|
@@ -17,7 +17,7 @@ body {
|
|
|
17
17
|
</style>
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
# <a id="top">aws-must demo 2
|
|
20
|
+
# <a id="top">aws-must demo 2 template</a>
|
|
21
21
|
|
|
22
22
|
## root.mustache
|
|
23
23
|
|
|
@@ -26,7 +26,38 @@ Create an EC2 with following fixed parameters
|
|
|
26
26
|
* `ImageId` : "ami-00dae61d",
|
|
27
27
|
* `InstanceType` : "t2.micro"
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
Supports only region `eu-central-1`. No ssh connection allowed by
|
|
30
|
+
default.
|
|
31
|
+
|
|
32
|
+
**Parameters**:
|
|
33
|
+
|
|
34
|
+
* no parameters
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## Document Content
|
|
38
|
+
|
|
39
|
+
This document is generated automically from `aws-must` -demo
|
|
40
|
+
templates.
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
Output contains markdown syntax between
|
|
44
|
+
**++start++** and
|
|
45
|
+
**++close++** -tags from the template files. For
|
|
46
|
+
each template, it
|
|
47
|
+
|
|
48
|
+
* gives a general description of the template
|
|
49
|
+
|
|
50
|
+
* documents the attribute context e.g. `.` or `./resources/Instance`,
|
|
51
|
+
and attributes references of the template
|
|
52
|
+
|
|
53
|
+
* lists template actions, i.e. output from template, or template
|
|
54
|
+
inclusion
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
## <a id="root.mustache"></a>root.mustache <a class='navigator' href='#top'">[top]</a>
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
**Attributes**: context= `.`
|
|
30
61
|
|
|
31
62
|
* `description`: description for the CF template
|
|
32
63
|
|
data/demo/3/root.mustache
CHANGED
|
@@ -27,10 +27,26 @@ CONTENT section
|
|
|
27
27
|
|
|
28
28
|
++start++
|
|
29
29
|
|
|
30
|
-
# <a id="top">aws-must demo 3
|
|
30
|
+
# <a id="top">aws-must demo 3 template</a>
|
|
31
|
+
|
|
32
|
+
Create an EC2 with following fixed parnameters
|
|
33
|
+
|
|
34
|
+
* `ImageId` : "ami-00dae61d",
|
|
35
|
+
* `InstanceType` : "t2.micro"
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
Supports only region `eu-central-1`. No ssh connection allowed by
|
|
39
|
+
default.
|
|
40
|
+
|
|
41
|
+
**Parameters**:
|
|
42
|
+
|
|
43
|
+
* no parameters
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
## Document Content
|
|
31
47
|
|
|
32
48
|
This document is generated automically from `aws-must` -demo
|
|
33
|
-
templates.
|
|
49
|
+
templates.
|
|
34
50
|
|
|
35
51
|
|
|
36
52
|
Output contains markdown syntax between
|
data/demo/4/root.mustache
CHANGED
|
@@ -35,7 +35,21 @@ CONTENT section
|
|
|
35
35
|
|
|
36
36
|
++start++
|
|
37
37
|
|
|
38
|
-
# <a id="top">aws-must demo 4
|
|
38
|
+
# <a id="top">aws-must demo 4 template</a>
|
|
39
|
+
|
|
40
|
+
Creates a EC2 instances using YAML configuration defining `ImageId`
|
|
41
|
+
(e.g. ami-00dae61d) and `InstanceType` (e.g. t2.micro).
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
Supports only region `eu-central-1`. No ssh connection allowed by
|
|
45
|
+
default.
|
|
46
|
+
|
|
47
|
+
**Parameters**:
|
|
48
|
+
|
|
49
|
+
* `InstanceType`: EC2 resource instance type, (default: t2.micro)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
## Document Content
|
|
39
53
|
|
|
40
54
|
This document is generated automically from `aws-must` -demo
|
|
41
55
|
templates.
|
data/demo/5/root.mustache
CHANGED
|
@@ -35,7 +35,24 @@ CONTENT section
|
|
|
35
35
|
|
|
36
36
|
++start++
|
|
37
37
|
|
|
38
|
-
# <a id="top">aws-must demo 5
|
|
38
|
+
# <a id="top">aws-must demo 5 template</a>
|
|
39
|
+
|
|
40
|
+
Creates EC2 instances using YAML configuration defining `ImageId`
|
|
41
|
+
(e.g. ami-00dae61d) and `InstanceType` (e.g. t2.micro). Output
|
|
42
|
+
section contains references to InstanceId and PublicId of the newly
|
|
43
|
+
created EC2 instance.
|
|
44
|
+
|
|
45
|
+
Supports only region `eu-central-1`. No ssh connection allowed by
|
|
46
|
+
default.
|
|
47
|
+
|
|
48
|
+
**Parameters**:
|
|
49
|
+
|
|
50
|
+
* `InstanceType`: EC2 resource instance type, (default: t2.micro)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
## Document Content
|
|
39
56
|
|
|
40
57
|
This document is generated automically from `aws-must` -demo
|
|
41
58
|
templates.
|
data/demo/6/root.mustache
CHANGED
|
@@ -37,7 +37,24 @@ CONTENT section
|
|
|
37
37
|
|
|
38
38
|
++start++
|
|
39
39
|
|
|
40
|
-
# <a id="top">aws-must demo 6
|
|
40
|
+
# <a id="top">aws-must demo 6 template</a>
|
|
41
|
+
|
|
42
|
+
Creates EC2 instances using YAML configuration defining `InstanceType`
|
|
43
|
+
(e.g. t2.micro). `ImageId` of the AMI is determined using
|
|
44
|
+
CloudFormation mapping on `InstanceType` and region. Supported regions
|
|
45
|
+
are ap-northeast-1, ap-southeast-1, ap-southeast-2, cn-north-1,
|
|
46
|
+
eu-central-1, eu-west-1, sa-east-1, us-east-1, us-gov-west-1,
|
|
47
|
+
us-west-1, us-west-2. Output section contains references to
|
|
48
|
+
InstanceId and PublicId of the newly created EC2 instance.
|
|
49
|
+
|
|
50
|
+
**Parameters**:
|
|
51
|
+
|
|
52
|
+
* `InstanceType`: EC2 resource instance type, (default: t2.micro)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
No ssh connection allowed by default.
|
|
56
|
+
|
|
57
|
+
## Document Content
|
|
41
58
|
|
|
42
59
|
This document is generated automically from `aws-must` -demo
|
|
43
60
|
templates.
|
data/demo/7/root.mustache
CHANGED
|
@@ -37,7 +37,33 @@ CONTENT section
|
|
|
37
37
|
|
|
38
38
|
++start++
|
|
39
39
|
|
|
40
|
-
# <a id="top">aws-must demo 7
|
|
40
|
+
# <a id="top">aws-must demo 7 template</a>
|
|
41
|
+
|
|
42
|
+
Creates
|
|
43
|
+
|
|
44
|
+
* **EC2 SecurityGroup** allowing ssh via port 22 from a location given
|
|
45
|
+
as `SSHLocation` parameter
|
|
46
|
+
|
|
47
|
+
* **EC2 instances** using YAML parameter `InstanceType`
|
|
48
|
+
(e.g. t2.micro).
|
|
49
|
+
|
|
50
|
+
* `ImageId` of the AMI is determined using CloudFormation mapping on
|
|
51
|
+
`InstanceType` and region. Supported regions are ap-northeast-1,
|
|
52
|
+
ap-southeast-1, ap-southeast-2, cn-north-1, eu-central-1,
|
|
53
|
+
eu-west-1, sa-east-1, us-east-1, us-gov-west-1, us-west-1,
|
|
54
|
+
us-west-2.
|
|
55
|
+
|
|
56
|
+
* output section contains references to InstanceId and PublicId of
|
|
57
|
+
the newly created EC2 instance.
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
**Parameters**:
|
|
61
|
+
|
|
62
|
+
* `InstanceType`: EC2 resource instance type, (default: t2.micro)
|
|
63
|
+
* `KeyName` : Name of an existing EC2 KeyPair to enable SSH access to the instance, (default: demo-key)
|
|
64
|
+
* `SSHLocation`: The IP address range that can be used to SSH to the EC2 instances default: 0.0.0.0/0)
|
|
65
|
+
|
|
66
|
+
## Document Content
|
|
41
67
|
|
|
42
68
|
This document is generated automically from `aws-must` -demo
|
|
43
69
|
templates.
|
data/demo/8/root.mustache
CHANGED
|
@@ -37,7 +37,38 @@ CONTENT section
|
|
|
37
37
|
|
|
38
38
|
++start++
|
|
39
39
|
|
|
40
|
-
# <a id="top">aws-must demo 8
|
|
40
|
+
# <a id="top">aws-must demo 8 template</a>
|
|
41
|
+
|
|
42
|
+
Creates
|
|
43
|
+
|
|
44
|
+
* **EC2 SecurityGroup** allowing ssh via port 22 from a location
|
|
45
|
+
given as `SSHLocation` parameter
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
* **EC2 instances** using YAML parameter `InstanceType`
|
|
49
|
+
(e.g. t2.micro).
|
|
50
|
+
|
|
51
|
+
* `ImageId` of the AMI is determined using CloudFormation mapping on
|
|
52
|
+
`InstanceType` and region. Supported regions are ap-northeast-1,
|
|
53
|
+
ap-southeast-1, ap-southeast-2, cn-north-1, eu-central-1,
|
|
54
|
+
eu-west-1, sa-east-1, us-east-1, us-gov-west-1, us-west-1,
|
|
55
|
+
us-west-2.
|
|
56
|
+
|
|
57
|
+
* optionally installs Chef to the EC2 instance with a version given
|
|
58
|
+
as `ChefVersion` parameter
|
|
59
|
+
|
|
60
|
+
* output section contains references to InstanceId and PublicId of
|
|
61
|
+
the newly created EC2 instance.
|
|
62
|
+
|
|
63
|
+
**Parameters**:
|
|
64
|
+
|
|
65
|
+
* `InstanceType`: EC2 resource instance type, (default: t2.micro)
|
|
66
|
+
* `KeyName` : Name of an existing EC2 KeyPair to enable SSH access to the instance, (default: demo-key)
|
|
67
|
+
* `SSHLocation`: The IP address range that can be used to SSH to the EC2 instances default: 0.0.0.0/0)
|
|
68
|
+
* `ChefVersion`: Chef version to install, (default: 11.18)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
## Document Content
|
|
41
72
|
|
|
42
73
|
This document is generated automically from `aws-must` -demo
|
|
43
74
|
templates.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-must
|
|
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
|
- jarjuk
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-06-
|
|
11
|
+
date: 2015-06-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mustache
|