Skip to content

Commit df000a8

Browse files
committed
Added CHANGELOG
1 parent 1784277 commit df000a8

File tree

5 files changed

+296
-1
lines changed

5 files changed

+296
-1
lines changed

.chglog/CHANGELOG.tpl.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{{ if .Versions -}}
2+
<a name="unreleased"></a>
3+
## [Unreleased]
4+
{{ if .Unreleased.CommitGroups -}}
5+
{{ range .Unreleased.CommitGroups -}}
6+
### {{ .Title }}
7+
{{ range .Commits -}}
8+
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
9+
{{ end }}
10+
{{ end -}}
11+
{{ else }}
12+
{{ range .Unreleased.Commits -}}
13+
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
14+
{{ end }}
15+
{{ end -}}
16+
{{ end -}}
17+
18+
{{ range .Versions }}
19+
<a name="{{ .Tag.Name }}"></a>
20+
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}
21+
{{ if .CommitGroups -}}
22+
{{ range .CommitGroups -}}
23+
### {{ .Title }}
24+
{{ range .Commits -}}
25+
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
26+
{{ end }}
27+
{{ end -}}
28+
{{ else }}
29+
{{ range .Commits -}}
30+
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
31+
{{ end }}
32+
{{ end -}}
33+
34+
{{- if .NoteGroups -}}
35+
{{ range .NoteGroups -}}
36+
### {{ .Title }}
37+
{{ range .Notes }}
38+
{{ .Body }}
39+
{{ end }}
40+
{{ end -}}
41+
{{ end -}}
42+
{{ end -}}
43+
44+
{{- if .Versions }}
45+
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD
46+
{{ range .Versions -}}
47+
{{ if .Tag.Previous -}}
48+
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}
49+
{{ end -}}
50+
{{ end -}}
51+
{{ end -}}

.chglog/config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
style: github
2+
template: CHANGELOG.tpl.md
3+
info:
4+
title: CHANGELOG
5+
repository_url: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance
6+
options:
7+
header:
8+
pattern: "^(.*)$"
9+
pattern_maps:
10+
- Subject

CHANGELOG.md

Lines changed: 221 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,221 @@
1+
<a name="unreleased"></a>
2+
## [Unreleased]
3+
4+
5+
6+
<a name="v1.22.0"></a>
7+
## [v1.22.0] - 2019-05-20
8+
9+
- Update module to the current version ([#88](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/88))
10+
11+
12+
<a name="v1.21.0"></a>
13+
## [v1.21.0] - 2019-03-22
14+
15+
- Fix formatting
16+
- examples/basic/main.tf: Add usage of "root_block_device" ([#18](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/18)) ([#65](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/65))
17+
18+
19+
<a name="v1.20.0"></a>
20+
## [v1.20.0] - 2019-03-22
21+
22+
- Fix formatting
23+
- main.tf: Make number of instances created configurable, defaulting to 1 ([#64](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/64))
24+
- Add missing required field ([#81](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/81))
25+
26+
27+
<a name="v1.19.0"></a>
28+
## [v1.19.0] - 2019-03-01
29+
30+
- Fixed readme after [#76](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/76)
31+
- network_interface_id Attribute Removal ([#76](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/76))
32+
33+
34+
<a name="v1.18.0"></a>
35+
## [v1.18.0] - 2019-02-27
36+
37+
- fix count variables are only valid within resources ([#72](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/72))
38+
39+
40+
<a name="v1.17.0"></a>
41+
## [v1.17.0] - 2019-02-25
42+
43+
- fix call to local.instance_name ([#71](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/71))
44+
45+
46+
<a name="v1.16.0"></a>
47+
## [v1.16.0] - 2019-02-25
48+
49+
- Fixed readme
50+
- Ability to append numerical suffix even to 1 instance ([#70](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/70))
51+
52+
53+
<a name="v1.15.0"></a>
54+
## [v1.15.0] - 2019-02-21
55+
56+
- Allow multiple subnet ids ([#67](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/67))
57+
58+
59+
<a name="v1.14.0"></a>
60+
## [v1.14.0] - 2019-01-26
61+
62+
- Tags should be possible to override (fixed [#53](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/53)) ([#66](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/66))
63+
- fix typo ([#61](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/61))
64+
65+
66+
<a name="v1.13.0"></a>
67+
## [v1.13.0] - 2018-10-31
68+
69+
- Include the module version and some code formatting ([#52](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/52))
70+
71+
72+
<a name="v1.12.0"></a>
73+
## [v1.12.0] - 2018-10-06
74+
75+
- Fixed [#51](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/51). t2 and t3 instances can be unlimited
76+
77+
78+
<a name="v1.11.0"></a>
79+
## [v1.11.0] - 2018-09-04
80+
81+
- Added example of EBS volume attachment (related to [#46](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/46)) ([#47](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/47))
82+
- Ignore changes in the ebs_block_device ([#46](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/46))
83+
84+
85+
<a name="v1.10.0"></a>
86+
## [v1.10.0] - 2018-08-18
87+
88+
- [master]: Narrow t2 selection criteria. ([#44](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/44))
89+
90+
91+
<a name="v1.9.0"></a>
92+
## [v1.9.0] - 2018-06-08
93+
94+
- Fixed t2-unlimited bug (related issue [#35](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/35)) ([#37](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/37))
95+
96+
97+
<a name="v1.8.0"></a>
98+
## [v1.8.0] - 2018-06-04
99+
100+
- Added support for CPU credits ([#35](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/35))
101+
102+
103+
<a name="v1.7.0"></a>
104+
## [v1.7.0] - 2018-06-02
105+
106+
- Added encrypted AMI info ([#34](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/34))
107+
108+
109+
<a name="v1.6.0"></a>
110+
## [v1.6.0] - 2018-05-16
111+
112+
- Added pre-commit hook to autogenerate terraform-docs ([#33](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/33))
113+
114+
115+
<a name="v1.5.0"></a>
116+
## [v1.5.0] - 2018-04-04
117+
118+
- Minor formatting fix
119+
- Merge pull request [#26](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/26) from otassetti/master
120+
- Modify tag name management to add -%d suffixe only if instance_count > 1
121+
122+
123+
<a name="v1.4.0"></a>
124+
## [v1.4.0] - 2018-04-04
125+
126+
- Merge pull request [#27](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/27) from Normo/master
127+
- Stop ignoring changes in vpc_security_group_ids
128+
129+
130+
<a name="v1.3.0"></a>
131+
## [v1.3.0] - 2018-03-06
132+
133+
- Merge pull request [#25](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/25) from terraform-aws-modules/renamed-count
134+
- Renamed count to instance_count (fixes [#23](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/23))
135+
- Merge pull request [#24](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/24) from mhd999/fix/readme
136+
- Fix: add missing variable to the usage example
137+
138+
139+
<a name="v1.2.1"></a>
140+
## [v1.2.1] - 2018-03-01
141+
142+
- Merge pull request [#21](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/21) from terraform-aws-modules/added-eip-to-example
143+
- Added aws_eip to example and pre-commit hooks
144+
145+
146+
<a name="v1.2.0"></a>
147+
## [v1.2.0] - 2018-01-19
148+
149+
- Merge pull request [#14](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/14) from 2solt/master
150+
- Add tags to output variables
151+
152+
153+
<a name="v1.1.0"></a>
154+
## [v1.1.0] - 2017-12-08
155+
156+
- Make module idempotent by requiring subnet_id and ignore changes in several arguments (fixes [#10](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/10))
157+
158+
159+
<a name="v1.0.4"></a>
160+
## [v1.0.4] - 2017-11-21
161+
162+
- Removed placement_group from outputs
163+
164+
165+
<a name="v1.0.3"></a>
166+
## [v1.0.3] - 2017-11-15
167+
168+
- Merge pull request [#7](https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/issues/7) from apparentlymart/patch-1
169+
- Fix incorrect subnet_id output expression
170+
- Updated example with all-icmp security group rule
171+
172+
173+
<a name="v1.0.2"></a>
174+
## [v1.0.2] - 2017-10-13
175+
176+
- Added example with security-group module
177+
178+
179+
<a name="v1.0.1"></a>
180+
## [v1.0.1] - 2017-09-14
181+
182+
- Updated example and made security group required
183+
184+
185+
<a name="v1.0.0"></a>
186+
## v1.0.0 - 2017-09-12
187+
188+
- Updated repo name
189+
- Updated README
190+
- Added complete code with example and READMEs
191+
- Initial commit
192+
193+
194+
[Unreleased]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.22.0...HEAD
195+
[v1.22.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.21.0...v1.22.0
196+
[v1.21.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.20.0...v1.21.0
197+
[v1.20.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.19.0...v1.20.0
198+
[v1.19.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.18.0...v1.19.0
199+
[v1.18.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.17.0...v1.18.0
200+
[v1.17.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.16.0...v1.17.0
201+
[v1.16.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.15.0...v1.16.0
202+
[v1.15.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.14.0...v1.15.0
203+
[v1.14.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.13.0...v1.14.0
204+
[v1.13.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.12.0...v1.13.0
205+
[v1.12.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.11.0...v1.12.0
206+
[v1.11.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.10.0...v1.11.0
207+
[v1.10.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.9.0...v1.10.0
208+
[v1.9.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.8.0...v1.9.0
209+
[v1.8.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.7.0...v1.8.0
210+
[v1.7.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.6.0...v1.7.0
211+
[v1.6.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.5.0...v1.6.0
212+
[v1.5.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.4.0...v1.5.0
213+
[v1.4.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.3.0...v1.4.0
214+
[v1.3.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.2.1...v1.3.0
215+
[v1.2.1]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.2.0...v1.2.1
216+
[v1.2.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.1.0...v1.2.0
217+
[v1.1.0]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.0.4...v1.1.0
218+
[v1.0.4]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.0.3...v1.0.4
219+
[v1.0.3]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.0.2...v1.0.3
220+
[v1.0.2]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.0.1...v1.0.2
221+
[v1.0.1]: https://github.com/terraform-aws-modules/terraform-aws-ec2-instance/compare/v1.0.0...v1.0.1

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.PHONY: changelog release
2+
3+
changelog:
4+
git-chglog -o CHANGELOG.md --next-tag `semtag final -s minor -o`
5+
6+
release:
7+
semtag final -s minor

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,18 @@ These types of resources are supported:
66

77
* [EC2 instance](https://www.terraform.io/docs/providers/aws/r/instance.html)
88

9+
## Terraform versions
10+
11+
Terraform 0.12. Pin module version to `~> v2.0`. Submit pull-requests to `master` branch.
12+
13+
Terraform 0.11. Pin module version to `~> v1.0`. Submit pull-requests to `terraform011` branch.
14+
915
## Usage
1016

1117
```hcl
1218
module "ec2_cluster" {
1319
source = "terraform-aws-modules/ec2-instance/aws"
14-
version = "1.21.0"
20+
version = "1.22.0"
1521
1622
name = "my-cluster"
1723
instance_count = 5

0 commit comments

Comments
 (0)