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

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.2.1).

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

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.1
File Size Uploaded Provenance Actions
codeterrain_terraform-0.2.1.tar.gz 11.8 kB With provenance Details for codeterrain_terraform-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 20.1 kB

Release files / codeterrain_terraform-0.2.1.tar.gz

Download URL codeterrain_terraform-0.2.1.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4567e089c2e8dc97eb4f6f70c79524c82afbdabac4b0f57ce5808daed845db6a
BLAKE2b-256 checksum
How to use checksums
e127f45f007b37ee2a8459f957601f5f206d796730f1b8d3f6abdde22abf0ddc
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.1-py3-none-any.whl

Download URL codeterrain_terraform-0.2.1-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3876136cdbe6ae6379843f55f04ebf40b66a98cc69da7fb6b18f5a7b2327a4e
BLAKE2b-256 checksum
How to use checksums
cade372d67b4c4197740d8e6dd9f69fef0fb34713d69affd9fd33e9efc00fd71
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.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

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

Select from 2 files

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