Terraform: aws_s3_bucket_object "An argument named "source_hash" is not expected here."

Solution 1:

The source_hash argument for the aws_s3_bucket_resource_object was implemented in version 3.50.0 of the provider: CHANGELOG. You will need to update the provider from 3.37.0 to ~> 3.50 accordingly.