Open claranet-barney opened 4 years ago
I just ran into this issue and when I tested password recovery, my verification_message_template
config is what recovery ended up using.
Hey @claranet-barney :wave: Thank you for taking the time to file this issue! Given that there's been a number of AWS provider releases since this was initially filed, can you confirm whether you're still experiencing this behavior?
I can confirm that this is still not fixed.
hi, any plans for the fix?
it would be nice that we can capture all the configuration in terraform rather to have some via console, and other parts are in terraform
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
There are two commented out parameters which are optional to each other:
aws_cognito_user_pool.user_pool.email_verification_[message|subject]
aws_cognito_user_pool.user_pool.verification_message_template.email_[message|subject]
Terraform should import the email template in to the Cognito user pool either on creation or as an update.
Actual Behavior
Either option noted above should work, however after pool creation or update, the default template has been used, not the one specified in the parameters.
Steps to Reproduce
Create a basic user pool and provide a verification email subject and template
terraform apply
Important Factoids
Adding the templates manually through the console is fine, and does not affect the Terraform actions on the next plan/apply
Terraform does complain if specific text is not present (i.e. {####}) so it is doing some level of validation internally.
No errors are reported, just a successful apply
0000