⚠️ Experimental — This plugin compiles and passes its unit tests but has not been validated in any active GoCodeAlone-internal production deployment. Use with caution. Please open an issue if you adopt it so we can promote it to verified status.
OpenTofu/Terraform adapter for workflow IaC — generates HCL from abstract infra specs, executes plan/apply, and handles state import/export.
Pipeline step types:
step.iac_generate_hcl— Generate HCL configuration from abstract workflow infra specsstep.tofu_init— Runtofu init(downloads providers + modules)step.tofu_plan— Runtofu planand capture the execution planstep.tofu_apply— Runtofu applyto provision infrastructurestep.tofu_state_import— Import existing resources into Tofu statestep.tofu_state_export— Export Tofu state for use by other workflow steps
- OpenTofu or Terraform installed and on
$PATH - Provider credentials configured via env vars (e.g.
AWS_ACCESS_KEY_ID,GOOGLE_CREDENTIALS,ARM_CLIENT_ID)
# In your wfctl.yaml
version: 1
plugins:
- name: workflow-plugin-tofu
version: v0.1.2
source: github.com/GoCodeAlone/workflow-plugin-tofuThen:
wfctl plugin installSee examples/minimal/config.yaml.
MIT. See LICENSE.