The documentation refers to the max_tokens argument several times, but the correct argument is max_token.
Error: Missing required argument
on bedrock/main.tf line 128, in resource "aws_bedrockagent_data_source" "unstructured_data_source":
128: semantic_chunking_configuration {
The argument "max_token" is required, but no definition was found.
Error: Unsupported argument
on bedrock/main.tf line 131, in resource "aws_bedrockagent_data_source" "unstructured_data_source":
131: max_tokens = 300
An argument named "max_tokens" is not expected here. Did you mean
"max_token"?
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Documentation Link
https://registry.terraform.io/providers/hashicorp/aws/5.72.1/docs/resources/bedrockagent_data_source
Description
The documentation refers to the
max_tokens
argument several times, but the correct argument ismax_token
.References
No response
Would you like to implement a fix?
None