Skip to main content

codeterrain-terraform

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

uv tool install "<path-to-the-codeterrain-checkout>[terraform]"
terrain def logs                    # resource aws_s3_bucket.logs  infra/storage.tf:12
terrain refs var.region             # every expression that reads it, and the block it sits in
terrain def --kind module           # every module call, with its file, source and version
terrain def --kind required_provider  # every pinned provider and its version constraint
terrain refs provider.aws.east      # the resources and module calls that select that provider

Not published yet: install from a checkout of the codeterrain repository, where this pack lives under packages/. Once published, pip install "codeterrain[terraform]" will do the same. terrain doctor lists the installed packs (language packs: terraform 0.2.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.

Metadata

Release files for codeterrain-terraform 0.2.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.2.0
File Size Uploaded Provenance Actions
codeterrain_terraform-0.2.0.tar.gz 11.8 kB With provenance Details for codeterrain_terraform-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 20.2 kB

Release files / codeterrain_terraform-0.2.0.tar.gz

Download URL codeterrain_terraform-0.2.0.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
71f8ce36cfae7b81d68985291642bbd3af2af6729eaec0dceea78b153662cabe
BLAKE2b-256 checksum
How to use checksums
ff286de8f57bc3a1e1d5ab7309370b27a70222db44877c67322e4e7566e4c225
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 2, 2026.

Transparency log

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

Download URL codeterrain_terraform-0.2.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
502ed3bf128cba979c47f56892861f25afc12513513950b45b596e3aa278d085
BLAKE2b-256 checksum
How to use checksums
16805c1e0c219b169a3998cafb4367d6acfb3c3292356535b20401c3821120aa
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 2, 2026.

Transparency log

Security for codeterrain-terraform 0.2.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for codeterrain_terraform-0.2.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 2, 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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full 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