aws_cognito_user_pool_client default_redirect_uri validation makes it mandatory #19924
Labels
bug
Addresses a defect in current functionality.
regression
Pertains to a degraded workflow resulting from an upstream patch or internal enhancement.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.14.8
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Example resource block:
Expected Behavior
The empty values will be ignored and the client will be created without these attributes.
Actual Behavior
A terraform plan throws the following errors:
Other info
I'm not sure in which version that validation was introduced because I haven't really touched this particular module in a while, but what it causes is basically making two optional attributes (
default_redirect_uri
) mandatory. This makes writing reusable modules very complicated as the attribute cannot be null nor empty.The only way I could get rid of the error was by commenting out the attribute, but again, that makes writing a reusable module impossible.
Maybe I'm missing something here? Please let me know if I can provide any more info.
Thanks.
The text was updated successfully, but these errors were encountered: