Skip to main content

codeterrain-terraform

Terraform for codeterrain: the definitions and references of .tf files, in codeterrain def and codeterrain refs.

uv tool install "codeterrain[terraform]"
codeterrain def logs                    # resource aws_s3_bucket.logs  infra/storage.tf:12
codeterrain refs var.region             # every expression that reads it, and the block it sits in
codeterrain def --kind module           # every module call, with its file, source and version
codeterrain def --kind required_provider  # every pinned provider and its version constraint
codeterrain refs provider.aws.east      # the resources and module calls that select that provider
codeterrain env DATABASE_URL            # where it is set (with codeterrain's Python readers)

The terraform extra installs this pack beside codeterrain; the command is also installed as terrain. codeterrain doctor lists the installed packs (language packs: terraform 0.3.0).

Names follow Terraform's own references: aws_s3_bucket.logs, data.aws_ami.base, module.vpc, var.region, local.tags, output.url, and provider.aws for both an entry of required_providers (kind required_provider) and a provider "aws" block (kind provider; provider.aws.east with alias = "east"). A module call's doc is its source and version, as is a required provider's. A resource's provider = aws.east and a module's providers = { aws = aws.east } are references to provider.aws.east. References are found in attribute values and inside string and heredoc templates. The reader is a tokenizer, not an evaluator: it follows no module source, expands no count or for_each and reads no .tfvars. A resource that selects no provider uses its default one implicitly; that is not listed as a reference. .tf.json files are not read.

An environment variable set in an environment, variables, env, environment_variables, env_vars or app_settings map or block (Lambda, App Service), or named by name in an environment = [{ name, value }] list (ECS container definitions) or an env { name } block (Kubernetes), is a definition env.NAME of kind env whose doc is the definition it is set in. Its value is never kept: it can be a secret.

Metadata

Release files for codeterrain-terraform 0.3.0

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

Source distribution (sdist)

Source distribution for codeterrain-terraform 0.3.0
File Size Uploaded Provenance Actions
codeterrain_terraform-0.3.0.tar.gz 14.1 kB With provenance Details for codeterrain_terraform-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for codeterrain-terraform 0.3.0
File Interpreter ABI Platform Actions
codeterrain_terraform-0.3.0-py3-none-any.whl Python 3 none any Details for codeterrain_terraform-0.3.0-py3-none-any.whl

Total release size: 23.8 kB

Release files / codeterrain_terraform-0.3.0.tar.gz

Download URL codeterrain_terraform-0.3.0.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
12e8f1f4d163d7e86472a73d9997e3c77b2172357a640ee3245ab980b6004bb4
BLAKE2b-256 checksum
How to use checksums
b5f3db4aecc85c6345c1cbbb996cdfc022fbbea44624f32248ccb4ffb1ee35b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 10, 2026.

Transparency log

Release files / codeterrain_terraform-0.3.0-py3-none-any.whl

Download URL codeterrain_terraform-0.3.0-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
641af5f496acf33fe415d9660ae98dcbd841572ad29342cb2528b01f9e16a6f3
BLAKE2b-256 checksum
How to use checksums
bb7380e23db8c3037c5ac7c29a479f627bc9bf1064db8a55d4e6a21f3955d49f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 10, 2026.

Transparency log

Security for codeterrain-terraform 0.3.0

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.

Select from 2 files

Attestation for codeterrain_terraform-0.3.0.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 10, 2026.

Transparency log

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.

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