ci: adopt reusable deploy workflow and move inventory to terraform/#29
Closed
NWarila wants to merge 1 commit into
Closed
ci: adopt reusable deploy workflow and move inventory to terraform/#29NWarila wants to merge 1 commit into
NWarila wants to merge 1 commit into
Conversation
Switch the runner from the inline terraform.yml job to the framework's reusable deploy workflow (import-adoption + plan_only dry-runs), and move the repo inventory from repos/ to terraform/ to match the reusable's overlay path. Pull requests now run a no-apply plan; push to main applies.
984b2ff to
93f5a15
Compare
Contributor
Author
|
Closing: wrong approach. The canonical reusable (runner-protocol.md) uses an |
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
Adopt the framework reusable deploy workflow and align the runner inventory layout to it.
Changes
repos/public/->terraform/public/(pure renames) and update the deny-all.gitignoreallowlist. The reusable overlaysrunner/terraform/{public,private}, so the inventory must live underterraform/.terraform.ymljob with a caller ofreusable-terraform-deploy.yaml@37602cb8, adding import-adoption (no create-conflicts) and aplan_onlydry-run on pull requests.plan_only: github.event_name == pull_request-> PRs touchingterraform/**get a no-apply plan preview; push to main / manual dispatch apply.skip_refreshtoggle (phantom state cleared in Drop 5 declarations for repos that no longer exist (unblocks terraform plan) #23) and the hardcoded owner (derived fromgithub_owner).Safety
nwarila-platform/github-terraform-runner/terraform.tfstate.