Skip to content

Commit 820e5f5

Browse files
committed
Added changelog
1 parent e735488 commit 820e5f5

File tree

5 files changed

+145
-0
lines changed

5 files changed

+145
-0
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-ecs
6+
options:
7+
header:
8+
pattern: "^(.*)$"
9+
pattern_maps:
10+
- Subject

CHANGELOG.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<a name="unreleased"></a>
2+
## [Unreleased]
3+
4+
5+
6+
<a name="v1.4.0"></a>
7+
## [v1.4.0] - 0001-01-01
8+
9+
10+
11+
<a name="v1.3.0"></a>
12+
## [v1.3.0] - 2019-03-08
13+
14+
- Merge pull request [#6](https://github.com/terraform-aws-modules/terraform-aws-ecs/issues/6) from asantos-fuze/add-tag-support
15+
- Add tag support for ECS module
16+
17+
18+
<a name="v1.2.0"></a>
19+
## [v1.2.0] - 2019-03-05
20+
21+
- Updated pre-commit
22+
- Added cluster name to outputs
23+
24+
25+
<a name="v1.1.0"></a>
26+
## [v1.1.0] - 2019-01-22
27+
28+
- Run pre-commit -a
29+
- Merge pull request [#5](https://github.com/terraform-aws-modules/terraform-aws-ecs/issues/5) from martynova1/patch-2
30+
- Add ARN output to README
31+
- Merge pull request [#4](https://github.com/terraform-aws-modules/terraform-aws-ecs/issues/4) from martynova1/patch-1
32+
- Add arn output
33+
- Merge pull request [#3](https://github.com/terraform-aws-modules/terraform-aws-ecs/issues/3) from andig/typos
34+
- Fix typos
35+
36+
37+
<a name="v1.0.0"></a>
38+
## [v1.0.0] - 2018-05-20
39+
40+
- Updated README.md
41+
- Added pre-commit hooks with docs
42+
- Merge pull request [#2](https://github.com/terraform-aws-modules/terraform-aws-ecs/issues/2) from terraform-aws-modules/initial-setup
43+
- Use this_ in the outputs
44+
- Fix output when create cluster is false
45+
- Move ec2-instances to main.tf in the example for easier reading
46+
- Add link to examples from the readme
47+
- Remove fixed versions from other dependencies
48+
- Use _ instead of -in the resource name
49+
- Call the resource 'this'
50+
- Fix typo
51+
- Remove version: need to be able to run examples using latest automatically
52+
- Create only ECS resources nothing more
53+
- Adding EC2 instances
54+
- Update all to newest version
55+
- Add infrastructure to the example
56+
- Create ECS cluster
57+
58+
59+
<a name="v0.0.1"></a>
60+
## v0.0.1 - 2017-09-26
61+
62+
- Initial commit
63+
- Initial commit
64+
65+
66+
[Unreleased]: https://github.com/terraform-aws-modules/terraform-aws-ecs/compare/v1.4.0...HEAD
67+
[v1.4.0]: https://github.com/terraform-aws-modules/terraform-aws-ecs/compare/v1.3.0...v1.4.0
68+
[v1.3.0]: https://github.com/terraform-aws-modules/terraform-aws-ecs/compare/v1.2.0...v1.3.0
69+
[v1.2.0]: https://github.com/terraform-aws-modules/terraform-aws-ecs/compare/v1.1.0...v1.2.0
70+
[v1.1.0]: https://github.com/terraform-aws-modules/terraform-aws-ecs/compare/v1.0.0...v1.1.0
71+
[v1.0.0]: https://github.com/terraform-aws-modules/terraform-aws-ecs/compare/v0.0.1...v1.0.0

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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ This module focuses purely on ECS and nothing else. Therefore only these resourc
99

1010
However, having said the above to have a proper ECS cluster up and running multiple resources are needed. In most cases creating these resources is heavily opinionated and or context-bound. That is why this module does not create these resources. But you still need them to have a production ready environment. Therefore the example area shows how to create everything needed for a production environment.
1111

12+
## Terraform versions
13+
14+
Terraform 0.12. Pin module version to `~> v2.0`. Submit pull-requests to `master` branch.
15+
16+
Terraform 0.11. Pin module version to `~> v1.0`. Submit pull-requests to `terraform011` branch.
17+
1218
## Usage
1319

1420
```hcl

0 commit comments

Comments
 (0)