my prefect server setup prefect-metrics.waow.tech
python orchestration
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: set CLOUDFLARE_ACCOUNT_ID to skip /memberships lookup

Wrangler calls /memberships to discover the account, which requires
User:Memberships:Read scope. Setting CLOUDFLARE_ACCOUNT_ID skips that.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+6 -1
+6 -1
flows/atlas.py
··· 18 18 from prefect.blocks.system import Secret 19 19 20 20 REPO_URL = "https://github.com/zzstoatzz/leaflet-search.git" 21 + CF_ACCOUNT_ID = "8feb33b5fb57ce2bc093bc6f4141f40a" 21 22 CF_PROJECT = "leaflet-search" 22 23 23 24 ··· 65 66 doesn't handle function bundling, and deploying without it causes 500s. 66 67 """ 67 68 logger = get_run_logger() 68 - env = {**os.environ, "CLOUDFLARE_API_TOKEN": api_token} 69 + env = { 70 + **os.environ, 71 + "CLOUDFLARE_API_TOKEN": api_token, 72 + "CLOUDFLARE_ACCOUNT_ID": CF_ACCOUNT_ID, 73 + } 69 74 70 75 # install node + wrangler if not already available 71 76 subprocess.run(