-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6338f6d
Showing
20 changed files
with
344 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
|
||
<a name="unreleased"></a> | ||
## [Unreleased] | ||
{{ if .Unreleased.CommitGroups -}} | ||
{{ range .Unreleased.CommitGroups -}} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}[{{ .Hash.Short }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Short }}) {{ .Subject }} | ||
{{ end -}} | ||
{{ end }} | ||
#### 🔮 Other Commits | ||
{{ range .Unreleased.Commits -}} | ||
{{ if not .Subject -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}[{{ .Hash.Short }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Short }}) {{ .Header }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ range .Versions }} | ||
<a name="{{ .Tag.Name }}"></a> | ||
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }} | ||
{{ if .CommitGroups -}} | ||
{{ range .CommitGroups -}} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}[{{ .Hash.Short }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Short }}) {{ .Subject }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
#### 🔮 Other Commits | ||
{{ range .Commits -}} | ||
{{ if not .Subject -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}[{{ .Hash.Short }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Short }}) {{ .Header }} | ||
{{ end -}} | ||
{{ end }} | ||
|
||
{{- if .NoteGroups }} | ||
{{ range .NoteGroups -}} | ||
### {{ .Title }} | ||
{{ range .Notes -}} | ||
{{ .Body }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
{{- if .Versions }} | ||
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD | ||
{{ range .Versions -}} | ||
{{ if .Tag.Previous -}} | ||
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
style: github | ||
template: CHANGELOG.tpl.md | ||
info: | ||
title: CHANGELOG | ||
repository_url: https://github.com/JSainsburyPLC/terraform-aws-eks | ||
options: | ||
commit_groups: | ||
title_maps: | ||
build: 🏭 Build | ||
chore: 🔧 Maintenance | ||
ci: 💜 Continuous Integration | ||
docs: 📘 Documentation | ||
feat: ✨ Features | ||
fix: 🐛 Bug Fixes | ||
perf: 🚀 Performance Improvements | ||
refactor: 💎 Code Refactoring | ||
revert: ◀️ Revert Change | ||
security: 🛡 Security Fix | ||
style: 🎶 Code Style | ||
test: 💚 Testing | ||
header: | ||
pattern: '^(\w*)(?:\(([\w\$\.\-\*\s]*)\))?\:\s(.*)$' | ||
pattern_maps: | ||
- Type | ||
- Scope | ||
- Subject | ||
notes: | ||
keywords: | ||
- BREAKING CHANGE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# EditorConfig is awesome: http://EditorConfig.org | ||
# Uses editorconfig to maintain consistent coding styles | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 80 | ||
trim_trailing_whitespace = true | ||
|
||
[*.{tf,tfvars,hcl}] | ||
indent_size = 2 | ||
indent_style = space | ||
|
||
[*.md] | ||
max_line_length = 0 | ||
trim_trailing_whitespace = false | ||
|
||
[Makefile] | ||
tab_width = 2 | ||
indent_style = tab | ||
|
||
[COMMIT_EDITMSG] | ||
max_line_length = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
name: Bug Report | ||
about: Create a report to help us improve a current feature | ||
labels: bug, needs triage | ||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Additional context** | ||
Add any other context about the problem here such as: tool versions, OS, links to | ||
source code or resources. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Feature Request | ||
about: Suggest an idea for new functionality or a shiny new feature | ||
labels: enhancement, needs triage | ||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: User Story | ||
about: A valuable increment of functionality, testable by the users | ||
labels: user story | ||
--- | ||
|
||
1. **As a** [user concerned by the story] | ||
1. **I want** [goal of the story] | ||
1. **so that** [reason for the story] | ||
|
||
## Acceptance Criteria | ||
|
||
- [ ] Should ‹testable condition that should be satisfied› | ||
- [ ] Should ‹testable condition that should be satisfied› | ||
- [ ] … | ||
|
||
## Delete following sections as necessary | ||
|
||
### Roles | ||
|
||
* _Operator_ of the Bosun PaaS (possibly a candidate _user_) | ||
* _User_ of the Bosun PaaS | ||
* _Product Owner_ of products on the Bosun PaaS | ||
* _Security Engineer_ overseeing the Bosun PaaS | ||
|
||
### A good user story should be (I-N-V-E-S-T principle) | ||
|
||
* _Independent_ (from other user stories, allowing to realize them in any order); | ||
* _Negotiable_ (omit details that would freeze the story); | ||
* _Valuable_ (implementation delivers an increment of functionality, observable by and useful to users); | ||
* _Estimatable_ (developers should be able to estimate its size relative to other stories); | ||
* _Sizable_ (implementation fits in one iteration – if it needs many to complete, it is an EPIC); | ||
* _Testable_ (user must be able to check the conditions of satisfaction). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# IDE Files | ||
.idea | ||
*.iml | ||
*.swp | ||
.DS_Store | ||
|
||
|
||
# Local .terraform and .terragrunt-cache directories | ||
**/.terraform/* | ||
**/.terragrunt-cache/* | ||
|
||
# .tfstate files | ||
*.tfstate | ||
*.tfstate.* | ||
|
||
# Crash log files | ||
crash.log | ||
|
||
# Ignore any .tfvars files that are generated automatically for each Terraform run. Most | ||
# .tfvars files are managed as part of configuration and so should be included in | ||
# version control. | ||
# | ||
# example.tfvars | ||
|
||
# Ignore override files as they are usually used to override resources locally and so | ||
# are not checked in | ||
override.tf | ||
override.tf.json | ||
*_override.tf | ||
*_override.tf.json | ||
|
||
# Include override files you do wish to add to version control using negated pattern | ||
# | ||
# !example_override.tf | ||
|
||
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan | ||
# example: *tfplan* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
exclude: vendor | ||
repos: | ||
- repo: https://github.com/antonbabenko/pre-commit-terraform | ||
rev: v1.25.0 | ||
hooks: | ||
- id: terraform_fmt | ||
- id: terraform_docs | ||
- id: terraform_tflint | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v2.4.0 | ||
hooks: | ||
- id: check-merge-conflict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.12.20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
repo: terraform-aws-eks | ||
type: terraform-module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Contributing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.PHONY: release | ||
|
||
TYPE := patch | ||
VERSION := $(shell semtag final -s $(TYPE) -o) | ||
|
||
release: | ||
git checkout master | ||
git pull origin master | ||
@echo $(VERSION) | grep "ERROR" && exit 1 || true | ||
git-chglog -o CHANGELOG.md --next-tag $(VERSION) | ||
git add CHANGELOG.md | ||
git commit -m "chore(release): Update changelog for $(VERSION)" | ||
git tag $(VERSION) | ||
git push origin master --tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Owner | ||
|
||
This repository is owned by [Team Bosun](https://github.com/orgs/JSainsburyPLC/teams/team-bosun). | ||
|
||
The captain is [Joe Moran](mailto:[email protected]). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
![terraform-aws-eks](./media/logo.png) | ||
|
||
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-green.svg)](https://conventionalcommits.org) | ||
|
||
# terraform-aws-eks | ||
|
||
<!-- Add a sensible description of this repository --> | ||
|
||
## Links | ||
|
||
- [Owner](./OWNER.md) | ||
- [Contributing](./CONTRIBUTING.md) | ||
- [Requirements](./REQUIREMENTS.md) | ||
|
||
|
||
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK --> | ||
## Providers | ||
|
||
No provider. | ||
|
||
## Inputs | ||
|
||
No input. | ||
|
||
## Outputs | ||
|
||
No output. | ||
|
||
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Requirements | ||
|
||
<!-- | ||
All requirements to build / run / test this software should be specified in this file. | ||
--> | ||
|
||
|
||
### git chglog | ||
|
||
> Anytime, anywhere, Write your CHANGELOG. | ||
https://github.com/git-chglog/git-chglog | ||
|
||
``` | ||
brew tap git-chglog/git-chglog | ||
brew install git-chglog | ||
``` | ||
|
||
### pre commit | ||
|
||
> Collection of git hooks for Terraform to be used with pre-commit framework | ||
https://github.com/antonbabenko/pre-commit-terraform | ||
|
||
Follow the quick-start here for setup instructions: https://pre-commit.com/#quick-start | ||
|
||
``` | ||
brew install pre-commit gawk terraform-docs tflint | ||
``` | ||
|
||
Install hooks: | ||
``` | ||
pre-commit install | ||
``` | ||
|
||
To have pre-commit hooks available in every cloned repo: | ||
``` | ||
git config --global init.templateDir ~/.git-template | ||
pre-commit init-templatedir ~/.git-template | ||
``` | ||
|
||
### semtag | ||
|
||
> Semantic Tagging Script for Git | ||
https://github.com/pnikosis/semtag | ||
|
||
|
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
terraform { | ||
required_version = "~> 0.12.20" | ||
|
||
required_providers { | ||
aws = "~> 2.46" | ||
} | ||
} |