Skip to content

feat(tf): implement OpenTofu and Terraform subcommands (devops tf) - #6

Merged
dan-petty merged 2 commits into
release/v0.1.9from
feat/opentofu-subcommands
Aug 17, 2026
Merged

dan-petty merged 2 commits into
release/v0.1.9from
feat/opentofu-subcommands

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

feat(tf): implement OpenTofu and Terraform subcommands (devops tf)

Summary

Implements native OpenTofu / Terraform subcommands (devops tf) for infrastructure provisioning, deployment, state management, and validation.

Subcommands Added

  • devops tf init [DIR] [--upgrade] [--reconfigure]
  • devops tf plan [DIR] [--var-file FILE] [--out FILE] [--destroy]
  • devops tf apply [DIR] [--var-file FILE] [--plan-file FILE] [--auto-approve]
  • devops tf destroy [DIR] [--var-file FILE] [--auto-approve]
  • devops tf output [DIR] [--json] [--raw]
  • devops tf validate [DIR] [--no-color]
  • devops tf fmt [DIR] [--check] [--recursive]
  • devops tf status [DIR]
  • devops tf deploy-cloud --provider aws|azure|gcp [--var-file FILE] [--auto-approve]

Key Features

  • Dynamic executable resolution: detects tofu or falls back to terraform.
  • Comprehensive --dry-run support across all commands with structured JSON output.
  • Cloud Kubernetes stack automation integrating with tf/aws, tf/azure, and tf/gcp.
  • Full unit test coverage in tests/test_tf.py with 100% mocked subprocess calls.
  • Automated documentation synchronization in docs/commands/tf.md, docs/CLI_REFERENCE.md, and README.md.

Copilot AI lite review requested due to automatic review settings August 17, 2026 19:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@dan-petty
dan-petty merged commit 00e5c1e into release/v0.1.9 Aug 17, 2026
1 check passed
@dan-petty
dan-petty deleted the feat/opentofu-subcommands branch August 17, 2026 20:01
dan-petty added a commit that referenced this pull request Aug 18, 2026
* docs: update agent instructions for PR branch updating, release targeting, and non-merge policy (#5)

* feat(tf): implement OpenTofu and Terraform subcommands (devops tf) (#6)

* feat(tf): implement OpenTofu and Terraform subcommands (devops tf)

* ci: trigger CI Quality Gate on release branches in ci.yml

* feat(ci): publish reusable devcontainer package and add tf FastMCP tools (#7)

* feat(mcp): add tf_plan, tf_apply, and tf_output FastMCP tools

* fix(review): address review findings, update prompts, and strengthen feedback loop

* feat(ci): build and publish reusable dev container package on github release

* docs(agents): forbid commits to unrelated or merged branches (#8)

* refactor(ai): optimize prompts, clean up command references, and refresh roadmap (#9)

* refactor(ai): optimize prompts for token density, update command references, and refresh roadmap

* docs(roadmap): order milestones chronologically by release and remove Phase n prefixes

* docs(roadmap): add FastAPI REST and OpenAPI service engine to v0.2.0 roadmap

* docs(changelog): update v0.1.9 release notes with OpenTofu, DevContainer package, and prompt optimizations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

2 participants