From 16e2e84ef43a6d360d9936a5e032b9def9207f5c Mon Sep 17 00:00:00 2001 From: "Luis M. Gallardo D" Date: Sat, 10 Apr 2021 13:31:39 -0300 Subject: [PATCH] Update README, Changelog & complete example --- CHANGELOG.md | 31 +++++++++++++++++++------------ examples/complete/main.tf | 12 +++++++++--- 2 files changed, 28 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 243fe3f..8d56e48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,59 +1,66 @@ -## 0.9.4 (February 14, 2021) +## 0.10.0 (April 10, 2021) + +ENHANCEMENTS: + +* Add support for `access_token_validity`, `id_token_validity` and `token_validity_units` +* Update complete example with `access_token_validity`, `id_token_validity` and `token_validity_units` + +## 0.9.4 (February 14, 2021) FIX: * Update README to include schema changes know issue -## 0.9.3 (January 27, 2021) +## 0.9.3 (January 27, 2021) ENHANCEMENTS: * Update description for `enabled` variable -## 0.9.2 (January 27, 2021) +## 0.9.2 (January 27, 2021) ENHANCEMENTS: * Update conditional creation example -## 0.9.1 (January 27, 2021) +## 0.9.1 (January 27, 2021) FIX: * Set default value for enable variable to `true` -## 0.9.0 (January 24, 2021) +## 0.9.0 (January 24, 2021) ENHANCEMENTS: * Support conditional creation (thanks @Necromancerx) -## 0.8.0 (December 28, 2020) +## 0.8.0 (December 28, 2020) ENHANCEMENTS: * Add support for support `account_recovery_setting` -## 0.7.1 (December 11, 2020) +## 0.7.1 (December 11, 2020) FIX: * Ignore schema changes and prevent pool destruction -## 0.7.0 (November 25, 2020) +## 0.7.0 (November 25, 2020) ENHANCEMENTS: * Add `from_email_address` -## 0.6.2 (August 13, 2020) +## 0.6.2 (August 13, 2020) FIXES: * Update CHANGELOG -## 0.6.1 (August 13, 2020) +## 0.6.1 (August 13, 2020) ENHANCEMENTS: @@ -68,7 +75,7 @@ UPDATES: * Updated README and examples -## 0.5.0 (July 31, 2020) +## 0.5.0 (July 31, 2020) FIXES: @@ -81,7 +88,7 @@ ENHANCEMENTS: * Add support for `software_token_mfa_configuration` -## 0.3.3 (April 24, 2020) +## 0.3.3 (April 24, 2020) FIXES: diff --git a/examples/complete/main.tf b/examples/complete/main.tf index ee026f5..75eb3cc 100644 --- a/examples/complete/main.tf +++ b/examples/complete/main.tf @@ -149,9 +149,15 @@ module "aws_cognito_user_pool_complete_example" { logout_urls = [] name = "test1" read_attributes = ["email"] - refresh_token_validity = 30 supported_identity_providers = [] write_attributes = [] + id_token_validity = 1 + refresh_token_validity = 60 + token_validity_units = { + access_token = "hours" + id_token = "hours" + refresh_token = "days" + } }, { allowed_oauth_flows = [] @@ -164,9 +170,9 @@ module "aws_cognito_user_pool_complete_example" { logout_urls = [] name = "test2" read_attributes = [] - refresh_token_validity = 30 supported_identity_providers = [] write_attributes = [] + refresh_token_validity = 30 }, { allowed_oauth_flows = ["code", "implicit"] @@ -179,9 +185,9 @@ module "aws_cognito_user_pool_complete_example" { logout_urls = ["https://mydomain.com/logout"] name = "test3" read_attributes = ["email", "phone_number"] - refresh_token_validity = 60 supported_identity_providers = [] write_attributes = ["email", "gender", "locale", ] + refresh_token_validity = 30 } ]