Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused_account_validity_days from Cognito User Pool type #28

Merged
merged 1 commit into from
Sep 9, 2019

Conversation

curtis-fugue
Copy link

@curtis-fugue curtis-fugue commented Sep 9, 2019

AWS deprecated the "unused_account_validity_days" field.

The error seen when making an update:

[ERROR] Timing: Provider: [provider.aws.us-east-1] Type: [aws_cognito_user_pool] Start: [2019-09-07T19:57:14Z] End: [2019-09-07T19:57:15Z] Duration: [1.194s] Error [Error updating Cognito User pool: InvalidParameterException: Please use TemporaryPasswordValidityDays instead of UnusedAccountValidityDays
	status code: 400, request id: 54dbfdcc-9717-48e1-b16b-8644545284de]

See issues # 8827 and # 8845 in the main repo for discussion of this change and how to handle it. The issue is unresolved in the provider master branch still.

Rather than attempt to fix it in our fork we'll just drop support for this field for now. I've tested and confirmed this works fine for us.

@curtis-fugue curtis-fugue merged commit 98c54d8 into fugue Sep 9, 2019
@curtis-fugue curtis-fugue deleted the cognito-unused-account-validity-days branch September 9, 2019 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants