Repository navigation
ci: rename the terragrunt executor workflow to terragrunt runner - #1116
Merged
Merged
Conversation
Terragrunt 1.0 separates `run` (an OpenTofu command) from `exec` (an arbitrary command). The workflow runs plan or apply, so "runner" matches the terragrunt vocabulary and "executor" does not. Claude-Session: https://claude.ai/code/session_01R7jQZQj1VyeBbYR7P1ssV7 Signed-off-by: panicboat <panicboat@gmail.com>
1 of 3 tasks
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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.
Summary
terragrunt の plan / apply を実行する reusable workflow の名前を
reusable--terragrunt-executorからreusable--terragrunt-runnerに変えます。workflow 名・job・step の表示名も
Run Terragruntに揃えます。Why
terragrunt 1.0 の CLI では、
runは OpenTofu のコマンドを実行し、execは任意のコマンドを実行します。この workflow が実行するのは plan / apply なので、terragrunt の用語では
runにあたります。executorという名前はexecのほうを連想させるため、実態と合いません。Before / After
reusable--terragrunt-executor(check 名はExecute Terragrunt)reusable--terragrunt-runner(check 名はRun Terragrunt)Decisions
runnerを採りました。reusable--とterragrunt-が前に付くので読み違えにくいと判断しました。applierは、release--planのように plan だけで呼ばれる場面と名前がずれるので採りませんでした。deployerは、release--planとrelease--deployで plan と deploy を分けている区別と矛盾するので採りませんでした。docs/superpowers/の plan / spec に出てくる旧名は、当時の記録なので書き換えていません。Verification
git grepで旧名(terragrunt-executor/Execute Terragruntなど)が workflow と README に残っていないことを確認しました。actionlint .github/workflows/*.y*mlを実行しました。mainで実行したときと同じ 1 件で、今回変更した行ではありません。github/branch/master/*.hcl)にExecute Terragruntは含まれていません。Relations
🤖 Generated with Claude Code
https://claude.ai/code/session_01R7jQZQj1VyeBbYR7P1ssV7