Bas
CDCloudflare Developers
•Created by Bas on 5/24/2025 in #workers-help
Anyone managed to deploy a Python worker using Pulumi?
I tried this
worker = cloudflare.WorkersScript("hello-world-worker",
script_name="hello-world-worker-py", content=PY_CONTENT, compatibility_date="2025-05-18", compatibility_flags=["python_workers"], account_id=ACCOUNT_ID, ) and got an unknown error: "errors": [ { "code": 10002, "message": "An unknown error has occurred. If this error persists, please file a report in the workers-sdk GitHub repository (https://github.com/cloudflare/workers-sdk/issues) or reach out to your account team." } ],
script_name="hello-world-worker-py", content=PY_CONTENT, compatibility_date="2025-05-18", compatibility_flags=["python_workers"], account_id=ACCOUNT_ID, ) and got an unknown error: "errors": [ { "code": 10002, "message": "An unknown error has occurred. If this error persists, please file a report in the workers-sdk GitHub repository (https://github.com/cloudflare/workers-sdk/issues) or reach out to your account team." } ],
1 replies
CDCloudflare Developers
•Created by Bas on 5/23/2025 in #workers-help
Anyone got a worker deployed with pulumi?
The hello world example from here:
https://developers.cloudflare.com/pulumi/tutorial/hello-world/
Gets me an error:
Bad Request {
"result": null,
"success": false,
"errors": [
{
"code": 10021,
"message": "Uncaught SyntaxError: Unexpected token 'export'\n at worker.js:2\n"
}
],
"messages": []
}
Seems there was a deprecation of “WorkerScript” and the documentation is not updated to “WorkersScript” (with the “s”)
2 replies
CDCloudflare Developers
•Created by Bas on 5/14/2025 in #workers-help
Access to container preview?
Hi! Is there a way to get preview access to the containers feature on the workers platform?
6 replies