CPU time `cpu_ms` not set to custom value using Terraform/OpenTofu

Hello there,

Since two weeks now, I am trying to set the CPU time cpu_ms of my customer's project to the max limit of 5 minutes (300,000 ms) according to the documentation at https://developers.cloudflare.com/workers/platform/limits/#cpu-time. My customers is on a paid plan for the account and on a the paid plan for the workers.

I have set the value in the wrangler.toml as described, I have set the value manually in the dashboard and I even wrote a curl command to set and check the setting before and after deployment. Unfortunately, I am stuck with settings set to Pages Functions billing: CPU time limit: 50 ms and when I click on the edit button, inside of the text input, the value is correctly set to CPU Time Limit (ms): 300000 and a message is stating This change will take effect on the next deployment.. (Re-)Deploying the worker does not do the trick. Using the API for set this setting neither.

So now I am out of ideas how to solve this and need to request help. My user is linked to the correct Cloudflare account.

Any help or advice are appreciated.
Thank you.
Cloudflare Docs
Cloudflare Workers plan and platform limits.
Limits
Was this page helpful?