S3 resource SignatureDoesNotMatch

Hi, I am having problems uploading a file to an s3 resources, my pipeline looks a bit like this:

(...)
- name: release
  type: s3
  source:
    bucket: concourseci
    region_name: us-east-2
    # private: true
    versioned_file: image.tar
    access_key_id: ((access_key_id))
    secret_access_key: ((secret_access_key))
(...)
jobs:
- name: build
  plan:
(...)
  - put: release
    inputs:
      - docker_image
    params:
      file: docker_image/image.tar
      content_type: application/x-tar
      # acl: private
(...)

When I run it I get this:

2.00 KB / 2.00 KB [======================================] 100.00 % 3.35 KB/s 0serror running command: SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.
	status code: 403, request id: 86ADFD3F9B71BA90, host id: bOxn6/uhNsEtrO078aEJop+dWymk/7tcyEkeWAKtp27ccTJd3l7akRuTmYM7X84fRV4T+t4oa2k=
failed

I am able to use the same access keys to upload manually using the aws cli, any help with that would be appreciated