Repository navigation
fix(terraform): wire-secrets works in CI and on re-deploys (0.17.1) - #12
Merged
Merged
Conversation
- 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two gaps found while wiring the first product: (1) a CI checkout has no repo link, so
orun secrets setcould not resolve scope — now exported asORUN_WORKSPACE/ORUN_PROJECTparsed from the runner'sTF_HTTP_ADDRESS(public ids; slug→id env resolve uses the new workflow bound-scope grants, orun-cloud #679/#680); (2)secrets set409s on an existing key, so re-deploys fall back tosecrets rotate. Values move via tmpfile+stdin only.🤖 Generated with Claude Code