diff --git a/.gitignore b/.gitignore index 9ba79af..088f0b4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,8 @@ *.DS_Store errored.tfstate -.terraform +*.terraform crash.log terraform.tfstate *.tfstate* -terraform.tfvars \ No newline at end of file +terraform.tfvars +*.terraform.lock.hcl diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d2cfb32..e59fa19 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v4.2.0 hooks: - id: check-added-large-files args: ['--maxkb=500'] @@ -17,8 +17,8 @@ repos: - id: detect-aws-credentials args: ['--allow-missing-credentials'] - id: trailing-whitespace -- repo: git://github.com/antonbabenko/pre-commit-terraform - rev: v1.50.0 +- repo: https://github.com/antonbabenko/pre-commit-terraform + rev: v1.71.0 hooks: - id: terraform_fmt - id: terraform_docs diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e66e3b..d8f72a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,37 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +- Allow setting time_zone for ASG schedules ([#17](https://github.com/umotif-public/terraform-aws-bastion/issues/17)) + + + +## [2.2.0] - 2021-06-04 + +- Add tags to IAM profile ([#14](https://github.com/umotif-public/terraform-aws-bastion/issues/14)) + + + +## [2.1.0] - 2021-04-23 + +- Update AWS partition sourcing ([#13](https://github.com/umotif-public/terraform-aws-bastion/issues/13)) + + + +## [2.0.3] - 2021-02-19 + +- Update bastion-userdata.sh ([#12](https://github.com/umotif-public/terraform-aws-bastion/issues/12)) + + + +## [2.0.2] - 2021-02-19 + +- Update bastion-userdata.sh ([#11](https://github.com/umotif-public/terraform-aws-bastion/issues/11)) + + + +## [2.0.1] - 2021-02-19 + +- Fix bastion policy to handle china partition ([#10](https://github.com/umotif-public/terraform-aws-bastion/issues/10)) @@ -88,7 +119,12 @@ All notable changes to this project will be documented in this file. - Initial commit -[Unreleased]: https://github.com/umotif-public/terraform-aws-bastion/compare/2.0.0...HEAD +[Unreleased]: https://github.com/umotif-public/terraform-aws-bastion/compare/2.2.0...HEAD +[2.2.0]: https://github.com/umotif-public/terraform-aws-bastion/compare/2.1.0...2.2.0 +[2.1.0]: https://github.com/umotif-public/terraform-aws-bastion/compare/2.0.3...2.1.0 +[2.0.3]: https://github.com/umotif-public/terraform-aws-bastion/compare/2.0.2...2.0.3 +[2.0.2]: https://github.com/umotif-public/terraform-aws-bastion/compare/2.0.1...2.0.2 +[2.0.1]: https://github.com/umotif-public/terraform-aws-bastion/compare/2.0.0...2.0.1 [2.0.0]: https://github.com/umotif-public/terraform-aws-bastion/compare/1.5.0...2.0.0 [1.5.0]: https://github.com/umotif-public/terraform-aws-bastion/compare/1.4.2...1.5.0 [1.4.2]: https://github.com/umotif-public/terraform-aws-bastion/compare/1.4.1...1.4.2 diff --git a/README.md b/README.md index 8aa169b..5c7f1e6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/umotif-public/terraform-aws-bastion?style=social) +[![GitHub release (latest by date)](https://img.shields.io/github/v/release/umotif-public/terraform-aws-bastion)](https://github.com/umotif-public/terraform-aws-bastion/releases/latest) # terraform-aws-bastion @@ -50,14 +50,14 @@ Module managed by [Marcin Cuber](https://github.com/marcincuber) [LinkedIn](http | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 0.13.0 | -| [aws](#requirement\_aws) | >= 3.34 | +| [terraform](#requirement\_terraform) | >= 0.13.7 | +| [aws](#requirement\_aws) | >= 4.0.0 | ## Providers | Name | Version | |------|---------| -| [aws](#provider\_aws) | >= 3.34 | +| [aws](#provider\_aws) | >= 4.0.0 | ## Modules diff --git a/versions.tf b/versions.tf index 7e2c6e6..159fa7b 100644 --- a/versions.tf +++ b/versions.tf @@ -1,8 +1,7 @@ terraform { - required_version = ">= 0.13.0" + required_version = ">= 0.13.7" required_providers { - aws = ">= 3.34" + aws = ">= 4.0.0" } } -