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

New Resource: aws_cognito_user_pool #1419

Merged
merged 30 commits into from
Nov 16, 2017
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
7092a4a
Added Cognito User Pool
Aug 15, 2017
2ad2b22
Normalized the Cognito User pool code & added validators unit tests
Ninir Aug 16, 2017
1585c4f
Added more options to the schema for Cognito User Pools
Ninir Aug 16, 2017
2121ebf
Saved work
Ninir Sep 11, 2017
4a9887e
Added management of verification_message_template
Ninir Oct 30, 2017
b79fda4
Added password_policy management
Ninir Nov 6, 2017
91fdd94
Saved work
Ninir Nov 10, 2017
7d17d1d
Added management of LambdaConfig
Ninir Nov 10, 2017
d16037d
Added management of AdminCreateUserConfig
Ninir Nov 10, 2017
770b455
Fixed build & test issues
Ninir Nov 10, 2017
f4d374a
Added LambdaConfig acceptance tests
Ninir Nov 10, 2017
331f003
Handled conflcits between alias & username attributes
Ninir Nov 11, 2017
e617001
Replaced the errors package
Ninir Nov 11, 2017
b5c715d
Fixed name type & added schema attributes
Ninir Nov 11, 2017
811632d
Added documentation
Ninir Nov 13, 2017
619c95a
Added creation & modified date attributes
Ninir Nov 13, 2017
6e1a8c3
Added device configuration
Ninir Nov 13, 2017
5fca391
Added import
Ninir Nov 13, 2017
e53cf96
Fixed unit tests
Ninir Nov 13, 2017
da7689c
Added test for adminCreateUserConfig & SMSConfiguration
Ninir Nov 15, 2017
f1061c4
Added tests for sms configuration
Ninir Nov 15, 2017
556a6c9
Cleaned code & fixed required updates
Ninir Nov 15, 2017
fb18171
First review
Ninir Nov 16, 2017
8e0f6fa
Second review
Ninir Nov 16, 2017
86dad4e
Switched from List to Set
Ninir Nov 16, 2017
e905189
Handled cast errors
Ninir Nov 16, 2017
1533258
small fix
Ninir Nov 16, 2017
1318ed5
small fix
Ninir Nov 16, 2017
9d94a76
Added comment for special validation use case, removed big example
Ninir Nov 16, 2017
f66cc80
Fixed missing cast error check
Ninir Nov 16, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed unit tests
Ninir committed Nov 13, 2017
commit e53cf96ed6495b3fd0d13ae1c60471fed4db8ba8
3 changes: 1 addition & 2 deletions aws/validators.go
Original file line number Diff line number Diff line change
@@ -1653,8 +1653,7 @@ func validateCognitoUserPoolReplyEmailAddress(v interface{}, k string) (ws []str

if !regexp.MustCompile(`[\p{L}\p{M}\p{S}\p{N}\p{P}]+@[\p{L}\p{M}\p{S}\p{N}\p{P}]+`).MatchString(value) {
errors = append(errors, fmt.Errorf(
"%q must satisfy regular expression pattern: [\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+@[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+",
k, value))
"%q must satisfy regular expression pattern: [\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+@[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}]+", k))
}
return
}