Skip to content

fix(terraform): wire-secrets works in CI and on re-deploys (0.17.1) - #12

Merged
ruehowl merged 1 commit into
mainfrom
fix/wire-secrets-robustness
Jul 28, 2026
Merged

ruehowl merged 1 commit into
mainfrom
fix/wire-secrets-robustness

Conversation

@ruehowl

@ruehowl ruehowl commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Two gaps found while wiring the first product: (1) a CI checkout has no repo link, so orun secrets set could not resolve scope — now exported as ORUN_WORKSPACE/ORUN_PROJECT parsed from the runner's TF_HTTP_ADDRESS (public ids; slug→id env resolve uses the new workflow bound-scope grants, orun-cloud #679/#680); (2) secrets set 409s on an existing key, so re-deploys fall back to secrets rotate. Values move via tmpfile+stdin only.

🤖 Generated with Claude Code

- Scope via ORUN_WORKSPACE/ORUN_PROJECT parsed from the runner-exported
  TF_HTTP_ADDRESS — no repo link exists in a CI checkout, and the env
  slug→id resolve rides the new workflow bound-scope grants
  (orun-cloud #679/#680).
- Re-deploys: `secrets set` 409s on an existing key, so fall back to
  `secrets rotate` (version append). Value moves via a 600 tmpfile +
  stdin — never argv, never echoed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ruehowl
ruehowl merged commit 78ecb67 into main Jul 28, 2026
1 check passed
@ruehowl
ruehowl deleted the fix/wire-secrets-robustness branch July 28, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants