Skip to content

feat(cli): pass flags to tofu; add tf import, state, show, force-unlock - #7056

Merged
dan-petty merged 1 commit into
mainfrom
feat/5318-tf-passthrough-flags
Nov 25, 2026
Merged

dan-petty merged 1 commit into
mainfrom
feat/5318-tf-passthrough-flags

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Make <directory> the pass-through boundary across devops tf mirror verbs (init, plan, apply, destroy, output, validate, fmt, import, state, show, force-unlock) so trailing OpenTofu flags such as -out= and -var-file= pass through unchanged per ADR 0037 without colliding with short aliases. Remove -o, -v, -p, and -u, add thin import, state, show, and force-unlock subcommands with request-plan --dry-run output, update affected knowledge-base examples, and regenerate CLI reference docs.

Verified after archive and rebase on origin/main: uv run devops docs check, uv run devops openspec check, and 116 pytest cases in tests/commands/test_tf.py, tests/commands/test_tf_dry_run.py, and tests/invariants/test_change_folders.py pass (following the full devops ci --check run where 29/29 checks and 27,476 tests passed prior to archiving 5318-tf-passthrough-flags).

Closes #5318
Change: openspec/changes/archive/2026-11-25-5318-tf-passthrough-flags/

@dan-petty dan-petty added type/feature Type feature: a new function scope/cli Core CLI framework, Typer subcommands, options, and tables labels Nov 25, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 25, 2026 03:44
@dan-petty
dan-petty merged commit 5b603cc into main Nov 25, 2026
28 checks passed
@dan-petty
dan-petty deleted the feat/5318-tf-passthrough-flags branch November 25, 2026 03:45
dan-petty-release Bot added a commit that referenced this pull request Nov 25, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.215.0](v0.214.0...v0.215.0)
(2026-11-25)


### Features

* **cli:** pass flags to tofu; add tf import, state, show, force-unlock
([#7056](#7056))
([5b603cc](5b603cc)),
closes [#5318](#5318)


### Bug Fixes

* **k8s:** Drop throttled Stack Exchange engines from SearXNG
([#7053](#7053))
([0217da6](0217da6))
* **roadmap:** avoid tool concurrency race in step trace digest test
([#7060](#7060))
([c2c797f](c2c797f))


### Performance Improvements

* **roadmap:** read blocker state from the open listing
([#7055](#7055))
([599abc7](599abc7)),
closes [#6553](#6553)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/cli Core CLI framework, Typer subcommands, options, and tables type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(tf): pass flags to tofu; add import, state, show, force-unlock

1 participant