There is an error/typo in code examples at page Customize Modules with Object Attributes | Terraform - HashiCorp Learn, the code example following text “Use different index and error documents by configuring”:
- Index_document_suffix and Error_document_key variables are capitalized (should not be)
- invalid/wrong quote characters are used