Skip to content

Commit 2031191

Browse files
authored
Merge pull request #38 from mineiros-io/mariux/changelog-cleanup
chore: Clean CHANGELOG.md
2 parents 9918b23 + 13ebb64 commit 2031191

File tree

2 files changed

+57
-24
lines changed

2 files changed

+57
-24
lines changed

CHANGELOG.md

Lines changed: 42 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Changelog
2+
23
All notable changes to this project will be documented in this file.
34

45
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
@@ -7,31 +8,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
78
## [Unreleased]
89

910
## [0.6.0]
11+
1012
### Added
11-
- feat: feat: add support for Terraform `v0.15`
1213

13-
### Changed
14-
- feat: upgrade terratest to `v1.34.0`
15-
- build: upgrade build-tools to `v0.11.0`
16-
- build: upgrade pre-commit-hooks to `v0.2.3`
14+
- Add support for Terraform `v0.15`
1715

1816
## [0.5.0]
17+
1918
### Added
19+
2020
- Add support for `account_recovery_mechanisms`
2121

2222
### Removed
23-
- BREAKING CHANGE: Drop support for Terraform AWS Provider version 2.x
23+
24+
- BREAKING CHANGE: Drop support for Terraform AWS Provider version `v2`
2425

2526
## [0.4.1] - 2021-02-08
27+
2628
### Fixed
29+
2730
- Fixed examples to use new variable `user_device_tracking` instead of `device_only_remembered_on_user_prompt`
2831

2932
## [0.4.0] - 2020-12-09
33+
3034
### Changed
35+
3136
- Add support for Terraform v0.14
3237

3338
## [0.3.0] - 2020-11-25
39+
3440
### Changes
41+
3542
- Add argument `user_device_tracking` to set device tracking to `OFF`, `ALWAYS` or `USER_OPT_IN`
3643
- BREAKING CHANGE: Remove argument `device_only_remembered_on_user_prompt`. Replaced by `user_device_tracking`.
3744
Default behavior did not change. How to migrate:
@@ -40,58 +47,81 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4047
- `device_only_remembered_on_user_prompt=null`: Set `user_device_tracking='OFF'`
4148

4249
### Fixes
50+
4351
- Allow to cleanly turn off user device tracking by setting new variable `user_device_tracking` to `OFF`. [#23](https://github.com/mineiros-io/terraform-aws-cognito-user-pool/issues/23)
4452
- The type of the clients output is a map of objects instead of a list.
4553

4654
## [0.2.0] - 2020-08-13
55+
4756
### Changed
48-
- Add support for Terraform v0.13
49-
- Prepared support for Terraform v0.14
57+
58+
- Add support for Terraform `v0.13`
59+
- Prepared support for Terraform `v0.14`
5060

5161
## [0.1.4] - 2020-08-13
62+
5263
### Added
64+
5365
- Add support for `username_attributes` argument.
5466

5567
## [0.1.3] - 2020-08-10
68+
5669
### Added
70+
5771
- Add unit test coverage for the `aws_cognito_user_pool_domain` resource.
72+
5873
### Changed
74+
5975
- Enable `markdown-link-check` pre-commit hook.
76+
6077
### Fixed
78+
6179
- Fixes recreation of resources on multiple apply runs.
6280
- Fix non-idempotent number schema attributes.
6381

6482
## [0.1.2] - 2020-08-05
83+
6584
### Added
85+
6686
- Add support for `aws_cognito_user_pool_domain`.
6787

6888
## [0.1.1] - 2020-08-04
89+
6990
### Fixed
91+
7092
- Fix email subject for admin invites.
7193
- Fix example documentation to point to terraform registry.
7294
- Fix `string_attribute_constraints` default values for string attributes to prevent non-idempotent plan.
7395

7496
### Added
97+
7598
- Add test to validate idempotency after apply.
7699

77100
## [0.1.0] - 2020-08-03
101+
78102
### Changed
79-
- Add support for terraform aws provider 3.x.
80-
- Update test to test against 3.0 aws provider.
81-
- Update test dependencies to use 3.x capable module versions.
103+
104+
- Add support for terraform aws provider `v3`
105+
- Update test to test against `v3` aws provider
106+
- Update test dependencies to use `v3` capable module versions
82107

83108
## [0.0.1] - 2020-06-27
109+
84110
### Added
111+
85112
- Implement support for `aws_cognito_user_pool` resource.
86113
- Implement support for `aws_cognito_user_pool_client` resource.
87114
- Document the usage of the module in README.md.
88115
- Document the usage of examples.
89116
- Add unit tests for basic use cases.
90117

91118
<!-- markdown-link-check-disable -->
92-
[Unreleased]: https://github.com/mineiros-io/terraform-aws-cognito-user-pool/compare/v0.5.1...HEAD
119+
120+
[unreleased]: https://github.com/mineiros-io/terraform-aws-cognito-user-pool/compare/v0.5.1...HEAD
93121
[0.5.1]: https://github.com/mineiros-io/terraform-aws-cognito-user-pool/compare/v0.5.0...v0.5.1
122+
94123
<!-- markdown-link-check-enable -->
124+
95125
[0.5.0]: https://github.com/mineiros-io/terraform-aws-cognito-user-pool/compare/v0.4.1...v0.5.0
96126
[0.4.1]: https://github.com/mineiros-io/terraform-aws-cognito-user-pool/compare/v0.4.0...v0.4.1
97127
[0.4.0]: https://github.com/mineiros-io/terraform-aws-cognito-user-pool/compare/v0.3.0...v0.4.0

Makefile

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ BUILD_TOOLS_VERSION ?= v0.11.0
55
BUILD_TOOLS_DOCKER_REPO ?= mineiros/build-tools
66
BUILD_TOOLS_DOCKER_IMAGE ?= ${BUILD_TOOLS_DOCKER_REPO}:${BUILD_TOOLS_VERSION}
77

8-
# If running in CI (e.g. GitHub Actions)
9-
# https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables
108
#
11-
# To disable TF_IN_AUTOMATION in CI set it to empty
9+
# Some CI providers such as GitHub Actions, CircleCI, and TravisCI are setting
10+
# the CI environment variable to a non-empty value by default to indicate that
11+
# the current workflow is running in a Continuous Integration environment.
12+
#
13+
# If TF_IN_AUTOMATION is set to any non-empty value, Terraform adjusts its
14+
# output to avoid suggesting specific commands to run next.
1215
# https://www.terraform.io/docs/commands/environment-variables.html#tf_in_automation
1316
#
1417
# We are using GNU style quiet commands to disable set V to non-empty e.g. V=1
@@ -28,18 +31,16 @@ ifndef NOCOLOR
2831
RESET := $(shell tput -Txterm sgr0)
2932
endif
3033

31-
# We are creating docker volumes for /go and /terraform that are unique per
32-
# repository to reuse dependencies between different docker run commands.
33-
VOLUME_PREFIX ?= mineiros_build_tools
34-
VOLUME_SUFFIX ?= $(notdir $(shell git rev-parse --show-toplevel || "build"))
35-
DOCKER_RUN_FLAGS += -v ${VOLUME_PREFIX}-terraform-${VOLUME_SUFFIX}:/terraform
36-
DOCKER_RUN_FLAGS += -v ${VOLUME_PREFIX}-go-${VOLUME_SUFFIX}:/go
37-
DOCKER_RUN_FLAGS += -v ${PWD}:/build
34+
GIT_TOPLEVEl = $(shell git rev-parse --show-toplevel)
35+
36+
DOCKER_RUN_FLAGS += -v ${GIT_TOPLEVEl}:/build
3837
DOCKER_RUN_FLAGS += --rm
3938
DOCKER_RUN_FLAGS += -e TF_IN_AUTOMATION
4039

41-
DOCKER_SSH_FLAGS += -e SSH_AUTH_SOCK=/ssh-agent
42-
DOCKER_SSH_FLAGS += -v ${SSH_AUTH_SOCK}:/ssh-agent
40+
ifdef SSH_AUTH_SOCK
41+
DOCKER_SSH_FLAGS += -e SSH_AUTH_SOCK=/ssh-agent
42+
DOCKER_SSH_FLAGS += -v ${SSH_AUTH_SOCK}:/ssh-agent
43+
endif
4344

4445
DOCKER_AWS_FLAGS += -e AWS_ACCESS_KEY_ID
4546
DOCKER_AWS_FLAGS += -e AWS_SECRET_ACCESS_KEY
@@ -76,9 +77,11 @@ test/unit-tests:
7677
.PHONY: clean
7778
clean:
7879
$(call rm-command,.terraform)
80+
$(call rm-command,.terraform.lock.hcl)
7981
$(call rm-command,*.tfplan)
8082
$(call rm-command,*/*/.terraform)
8183
$(call rm-command,*/*/*.tfplan)
84+
$(call rm-command,*/*/.terraform.lock.hcl)
8285

8386
## Display help for all targets
8487
.PHONY: help

0 commit comments

Comments
 (0)