Defining R2 Binding in wrangler.toml
Hi, I have an R2 bucket at EU named "foo". The corresponding S3 URL is like
https://account_id.eu.r2.cloudflarestorage.com/foo
. In my Workers project's wrangler.toml file, I've added it like:
And I've set up GitHub Actions to deploy my Workers. Below is the config:
But it doesn't succeed. I get the following error in the runner:
The API token being used has the following permissions:
Can anyone help me out on this?
foo
is just a dummy name. I'm using the actual name which is shown in the website (and also in the S3 URL).
1 Reply
NVM! Had to add
jurisdiction = "eu"
.
Should be mentioned in the docs.