hegemony-steps-tf
OpenTofu and Terraform for Hegemony flows — the tf. namespace.
Handlers:
tf.plan— init, validate and plan a configuration from the flow's attachments. The saved plan stays in the run's shared workspace, the readable plan is kept as evidence, and the step output reports what would change (counts and resource addresses, never values), so a branch or an approval can act on it. A scheduled plan-only flow is drift detection.tf.apply— apply exactly the plan atf.planstep saved earlier in the run, in the same working directory and image; the step refuses a saved plan that changed since it was made, and the tool refuses a plan made stale by a state change.
OpenTofu is the default engine and Terraform is selectable; the engine never appears in the handler id (CONVENTIONS.md, rule 3). By default the platform stores the state (managed state: locked, versioned, encrypted); the configuration's own backend, or ephemeral per-run state for tests, are the alternatives. Provider credentials, secret variables and OpenTofu's state encryption key are secret references, resolved by the platform, passed as files, and redacted from output.
Both steps run on the platform's Docker-in-Docker sandbox through
container.run's runner (this wheel depends on hegemony-steps-container),
under the flow's egress policy. OpenTofu's default image is
ghcr.io/hegemony-sh/opentofu-runner:0.59, built and published from
images/opentofu-runner/ in this repository, with OpenTofu 1.12; Terraform's
is HashiCorp's hashicorp/terraform at an exact version, Terraform 1.16
today. The image tags do not name those versions, so both steps report the
version that ran in their output (tool_version), and only a minor release
of the plugins moves to another OpenTofu or Terraform series. The plan
step's OpenTofu version setting picks a series instead of the default: 1.12
or 1.13, each published as its own tag (X.Y-tofu1.13). tf.apply runs the plan's image by
the registry digest the plan recorded, or by its tag when the image has no
digest (one built on the sandbox and never pushed).
Metadata
Release files for hegemony-steps-tf 0.59.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hegemony_steps_tf-0.59.1.tar.gz | 47.2 kB | With provenance | Details for hegemony_steps_tf-0.59.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hegemony_steps_tf-0.59.1-py3-none-any.whl | Python 3 | none | any | Details for hegemony_steps_tf-0.59.1-py3-none-any.whl |
Total release size: 100.4 kB
Release files / hegemony_steps_tf-0.59.1.tar.gz
| Download URL | hegemony_steps_tf-0.59.1.tar.gz |
|---|---|
| Size | 47.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df96ef3b22cd7702adbee62b06a2968a548365e16b85fcd9897da87d3d4c33dc
|
|
BLAKE2b-256 checksum How to use checksums |
ca60313515ef0cc934d1fd5a4f17c19738ebd1f09932cd890e9fef9cb96e44a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logRelease files / hegemony_steps_tf-0.59.1-py3-none-any.whl
| Download URL | hegemony_steps_tf-0.59.1-py3-none-any.whl |
|---|---|
| Size | 53.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08aa5eafa5943f62bf5bd197ed9d500478a08ac38364d5fdd38a8422f75123b9
|
|
BLAKE2b-256 checksum How to use checksums |
543cb61bcef5662faf557e16cf53dff991e652d4403f4e94d5093d56f8734972
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logSecurity for hegemony-steps-tf 0.59.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for hegemony_steps_tf-0.59.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.