diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 2fe97d5..d2cfb32 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: v3.3.0
+ rev: v4.0.1
hooks:
- id: check-added-large-files
args: ['--maxkb=500']
@@ -18,7 +18,7 @@ repos:
args: ['--allow-missing-credentials']
- id: trailing-whitespace
- repo: git://github.com/antonbabenko/pre-commit-terraform
- rev: v1.44.0
+ rev: v1.50.0
hooks:
- id: terraform_fmt
- id: terraform_docs
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b4d0c12..755993f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,19 @@ All notable changes to this project will be documented in this file.
## [Unreleased]
-- Update module versions to support v3 provider
+- Update README.md
+
+
+
+## [1.0.2] - 2020-11-09
+
+- Update module to remove terraform 0.14 limit ([#3](https://github.com/umotif-public/terraform-aws-kms/issues/3))
+
+
+
+## [1.0.1] - 2020-08-05
+
+- Feature/v3 provider support ([#2](https://github.com/umotif-public/terraform-aws-kms/issues/2))
- Feature/updates ([#1](https://github.com/umotif-public/terraform-aws-kms/issues/1))
@@ -18,4 +30,6 @@ All notable changes to this project will be documented in this file.
- Initial commit
-[Unreleased]: https://github.com/umotif-public/terraform-aws-kms/compare/1.0.0...HEAD
+[Unreleased]: https://github.com/umotif-public/terraform-aws-kms/compare/1.0.2...HEAD
+[1.0.2]: https://github.com/umotif-public/terraform-aws-kms/compare/1.0.1...1.0.2
+[1.0.1]: https://github.com/umotif-public/terraform-aws-kms/compare/1.0.0...1.0.1
diff --git a/README.md b/README.md
index eac7178..c6d0374 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-kms?style=social)
+[![GitHub release (latest by date)](https://img.shields.io/github/v/release/umotif-public/terraform-aws-kms)](https://github.com/umotif-public/terraform-aws-kms/releases/1.0.3)
# terraform-aws-kms
@@ -38,45 +38,57 @@ Module is to be used with Terraform > 0.12.
## Authors
Module managed by [Marcin Cuber](https://github.com/marcincuber) [LinkedIn](https://www.linkedin.com/in/marcincuber/).
+Module managed by [Abdul Wahid](https://github.com/Ohid25) [LinkedIn](https://www.linkedin.com/in/abdul-wahid/).
+Module managed by [Sean Pascual](https://github.com/seanpascual) [LinkedIn](https://www.linkedin.com/in/sean-edward-pascual/).
## Requirements
| Name | Version |
|------|---------|
-| terraform | >= 0.12.6 |
-| aws | >= 2.41 |
+| [terraform](#requirement\_terraform) | >= 0.12.31 |
+| [aws](#requirement\_aws) | >= 2.41, < 3.53 |
## Providers
| Name | Version |
|------|---------|
-| aws | >= 2.41 |
+| [aws](#provider\_aws) | >= 2.41, < 3.53 |
+
+## Modules
+
+No modules.
+
+## Resources
+
+| Name | Type |
+|------|------|
+| [aws_kms_alias.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kms_alias) | resource |
+| [aws_kms_key.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kms_key) | resource |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
-| alias\_name | The display name of the alias. | `string` | n/a | yes |
-| customer\_master\_key\_spec | Specifies whether the key contains a symmetric key or an asymmetric key pair and the encryption algorithms or signing algorithms that the key supports. Valid values: SYMMETRIC\_DEFAULT, RSA\_2048, RSA\_3072, RSA\_4096, ECC\_NIST\_P256, ECC\_NIST\_P384, ECC\_NIST\_P521, or ECC\_SECG\_P256K1. Defaults to SYMMETRIC\_DEFAULT. | `string` | `"SYMMETRIC_DEFAULT"` | no |
-| deletion\_window\_in\_days | Duration in days after which the key is deleted after destruction of the resource. | `number` | `10` | no |
-| description | The description of the key as viewed in AWS console. | `string` | `"Parameter Store KMS master key"` | no |
-| enable\_key\_rotation | Specifies whether key rotation is enabled. | `bool` | `true` | no |
-| enabled | Specifies whether to create resources within this module. | `bool` | `true` | no |
-| is\_enabled | Specifies whether the key is enabled. | `bool` | `true` | no |
-| key\_usage | Specifies the intended use of the key. Defaults to ENCRYPT\_DECRYPT, and only symmetric encryption and decryption are supported. | `string` | `"ENCRYPT_DECRYPT"` | no |
-| policy | A valid policy JSON document. For more information about building AWS IAM policy documents with Terraform. | `string` | `""` | no |
-| tags | Mapping of additional tags. | `map(string)` | `{}` | no |
+| [alias\_name](#input\_alias\_name) | The display name of the alias. | `string` | n/a | yes |
+| [customer\_master\_key\_spec](#input\_customer\_master\_key\_spec) | Specifies whether the key contains a symmetric key or an asymmetric key pair and the encryption algorithms or signing algorithms that the key supports. Valid values: SYMMETRIC\_DEFAULT, RSA\_2048, RSA\_3072, RSA\_4096, ECC\_NIST\_P256, ECC\_NIST\_P384, ECC\_NIST\_P521, or ECC\_SECG\_P256K1. Defaults to SYMMETRIC\_DEFAULT. | `string` | `"SYMMETRIC_DEFAULT"` | no |
+| [deletion\_window\_in\_days](#input\_deletion\_window\_in\_days) | Duration in days after which the key is deleted after destruction of the resource. | `number` | `10` | no |
+| [description](#input\_description) | The description of the key as viewed in AWS console. | `string` | `"Parameter Store KMS master key"` | no |
+| [enable\_key\_rotation](#input\_enable\_key\_rotation) | Specifies whether key rotation is enabled. | `bool` | `true` | no |
+| [enabled](#input\_enabled) | Specifies whether to create resources within this module. | `bool` | `true` | no |
+| [is\_enabled](#input\_is\_enabled) | Specifies whether the key is enabled. | `bool` | `true` | no |
+| [key\_usage](#input\_key\_usage) | Specifies the intended use of the key. Defaults to ENCRYPT\_DECRYPT, and only symmetric encryption and decryption are supported. | `string` | `"ENCRYPT_DECRYPT"` | no |
+| [policy](#input\_policy) | A valid policy JSON document. For more information about building AWS IAM policy documents with Terraform. | `string` | `""` | no |
+| [tags](#input\_tags) | Mapping of additional tags. | `map(string)` | `{}` | no |
## Outputs
| Name | Description |
|------|-------------|
-| alias\_arn | KMS Key Alias ARN. |
-| alias\_name | KMS Key Alias name. |
-| key\_arn | KMS Key ARN. |
-| key\_id | KMS Key ID. |
-
+| [alias\_arn](#output\_alias\_arn) | KMS Key Alias ARN. |
+| [alias\_name](#output\_alias\_name) | KMS Key Alias name. |
+| [key\_arn](#output\_key\_arn) | KMS Key ARN. |
+| [key\_id](#output\_key\_id) | KMS Key ID. |
## License
diff --git a/versions.tf b/versions.tf
index 03815eb..a8d7d91 100644
--- a/versions.tf
+++ b/versions.tf
@@ -1,7 +1,7 @@
terraform {
- required_version = ">= 0.12.6"
+ required_version = ">= 0.12.31"
required_providers {
- aws = ">= 2.41"
+ aws = ">= 2.41, < 3.53"
}
}