From 07507395ec409b396bc6058ea67ee7e28c050e5f Mon Sep 17 00:00:00 2001 From: Rahul Varghese Date: Mon, 27 Jul 2026 22:26:52 +0530 Subject: [PATCH] feat(profiles): bind CLOUDFLARE_ACCOUNT_ID (connection-fact secret) on worker deploy profiles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The account id joins the token as a secretBinding on the worker deploy profiles: it resolves from the same Cloudflare integration (account-id connection-fact template — a non-secret anchor served from custody metadata), so the deploy step needs no ambient CI value at all. Stack 0.14.0 -> 0.15.0. Co-Authored-By: Claude Fable 5 --- .../profiles/cloudflare-worker-turbo-deploy.yaml | 4 ++++ .../profiles/cloudflare-workers-assets-turbo-deploy.yaml | 4 ++++ stack.yaml | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-deploy.yaml b/compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-deploy.yaml index 4b7d9c9..4555666 100644 --- a/compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-deploy.yaml +++ b/compositions/cloudflare-worker-turbo/profiles/cloudflare-worker-turbo-deploy.yaml @@ -17,6 +17,10 @@ spec: # never touch the Cloudflare API and never resolve a credential. secretBindings: CLOUDFLARE_API_TOKEN: { required: true } + # The account id is a non-secret connection fact, brokered from the same + # Cloudflare integration (template: account-id) — bound here so the deploy + # step needs no ambient CI value for it either. + CLOUDFLARE_ACCOUNT_ID: { required: true } jobs: verify-deploy: diff --git a/compositions/cloudflare-workers-assets-turbo/profiles/cloudflare-workers-assets-turbo-deploy.yaml b/compositions/cloudflare-workers-assets-turbo/profiles/cloudflare-workers-assets-turbo-deploy.yaml index 7b9c4a0..638e3bc 100644 --- a/compositions/cloudflare-workers-assets-turbo/profiles/cloudflare-workers-assets-turbo-deploy.yaml +++ b/compositions/cloudflare-workers-assets-turbo/profiles/cloudflare-workers-assets-turbo-deploy.yaml @@ -14,6 +14,10 @@ spec: # run time. Verify/pull-request profiles carry no bindings. secretBindings: CLOUDFLARE_API_TOKEN: { required: true } + # The account id is a non-secret connection fact, brokered from the same + # Cloudflare integration (template: account-id) — bound here so the deploy + # step needs no ambient CI value for it either. + CLOUDFLARE_ACCOUNT_ID: { required: true } jobs: verify-deploy: diff --git a/stack.yaml b/stack.yaml index 3da10c0..27fd706 100644 --- a/stack.yaml +++ b/stack.yaml @@ -3,7 +3,7 @@ kind: Stack metadata: name: stack-tectonic title: Stack Tectonic - version: 0.14.0 + version: 0.15.0 description: Versioned OCI-hosted catalog of Cloudflare, Terraform and monorepo compositions for Sourceplane repositories. owner: sourceplane tags: