S3 putObject using multi region access point

Hi. I am trying to upload a file to S3 bucket using multi-region access point. However, I am getting an error saying: invalid Amazon s3 ARN, region not set

resource “aws_s3_bucket_object” “examplebucket_object” {
key = “test.jpg”
bucket = “arn:aws:s3::844523712345:accesspoint/my8ka9d9jfpp1.mrap”
source = “test.jpg”

Error: Error uploading object to S3 bucket (arn:aws:s3::844523712345:accesspoint/my8ka9d9jfpp1.mrap): InvalidARNError: invalid ARN
caused by: invalid Amazon s3 ARN, region not set, arn:aws:s3::844523712345:accesspoint/my8ka9d9jfpp1.mrap

with aws_s3_bucket_object.examplebucket_object,
on main.tf line 1, in resource “aws_s3_bucket_object” “examplebucket_object”:
1: resource “aws_s3_bucket_object” “examplebucket_object” {

I have tested using aws cli as well. it worked fine.

Anyone has an idea how can I putObject using S3 multi region access point?