Skip to content

Commit

Permalink
Merge pull request #790 from svscheg/issue716
Browse files Browse the repository at this point in the history
Fix issue716: AWS Cognito User Pool - Verification Message Template configuration conflicts
  • Loading branch information
svscheg committed Jul 21, 2023
2 parents 9e5f614 + 08ddd3f commit 5edbe14
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apis/cognitoidp/v1beta1/zz_generated_terraformed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions config/cognitoidp/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,14 @@ func Configure(p *config.Provider) {
Type: "UserPool",
}
})
p.AddResourceConfigurator("aws_cognito_user_pool", func(r *config.Resource) {
r.LateInitializer = config.LateInitializer{
IgnoredFields: []string{
"verification_message_template",
"sms_verification_message",
"email_verification_message",
"email_verification_subject",
},
}
})
}

0 comments on commit 5edbe14

Please sign in to comment.