Skip to main content

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 a tf.plan step 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.52, 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.52.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for hegemony-steps-tf 0.52.1
File Interpreter ABI Platform Actions
hegemony_steps_tf-0.52.1-py3-none-any.whl Python 3 none any Details for hegemony_steps_tf-0.52.1-py3-none-any.whl

Release files / hegemony_steps_tf-0.52.1-py3-none-any.whl

Download URL hegemony_steps_tf-0.52.1-py3-none-any.whl
Size 53.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
968b8d91f1924ae00c9200170859834f936436922df1f1f0dd183465d97146d6
BLAKE2b-256 checksum
How to use checksums
ef4bbfa633751e8aee23a6d5cbf04e00b4597c0bc9df74dbd659205fcb82cfc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Security for hegemony-steps-tf 0.52.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.52.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page