Skip to content
Browse Configs

Deep Dives

AI: Claude and Codex patterns

ConfigHub: Deploy and manage

Configs
Stacks
Apps
Plugins
Guides
Docs

Find, compare and use hashicorp/terraform

The Catalog holds one version of the Helm chart hashicorp/terraform, with 2 bases. That version is 1.1.2.

The Catalog files this chart under Delivery and automation. Its listings do not yet describe what it does, so read the objects before you rely on the name.

The Catalog rendered all 2 bases and retains the exact objects of each. The listings record an upload as a variant for 2 bases. They record no deployment for any base. A promoted change is partly recorded for 2 bases.

Use this entry in ConfigHub in five steps, from fetching its exact objects to promoting a change.

Pick a version · See what changes · Back to the Catalog

What it is. hashicorp/terraform 1.1.2, as 5 Kubernetes objects in its default preset.

Install it. curl -fsSL -o try-objects.sh https://confighub.github.io/helm-expt/site/sh/hashicorp-terraform-1-1-2/default/try-objects.sh && bash try-objects.sh

OCI bundle. oci://europe-west1-docker.pkg.dev/nth-fort-499605-q5/helm-expt/bundles/catalog-hashicorp-terraform-1-1-2-default:latest@sha256:63b95efeb1ece5e033b61c3f84aca03dd2f33f61d98f9db6604afb521924a6ba

Needs first. 2 Secrets must exist before apply. Terraform CLI credentials mounted at /etc/terraform/.terraformrc. The listing gives the rest.

How it works. How the model works, and Helm in the Catalog.

Pick a version and a base

Versions are listed newest first. Each row is one base, and every cell is read from that base's listing. A base marked watch has a checked result with a limit to review.

1.1.2 newest

2 bases. The installer package is published and signed. Open the page for 1.1.2.

BaseObjectsFlattening verdictPublished as OCIFlagOpen
default default5flatten-with-routes, plan recordedPublishedNoneexact objects · listing
no-crds4safe-to-flattenPublishedNoneexact objects · listing

See what changes

Choose two versions or two bases, then press Compare. The page fetches the two retained files and checks each file's SHA-256 against the digest its listing records. It then computes the diff on demand, in your browser, with the code that cub config diff runs. Nothing is precomputed or stored.

Run the same diff yourself

These commands fetch the same two files and compare them on your machine, with no account. They follow the pair you choose above. cub plugin install confighub/cub-workshop@v0.6.61 adds cub config diff.

# fetch the first retained file
$ curl -fsSL -o hashicorp-terraform-1-1-2-default.yaml https://raw.githubusercontent.com/confighub/helm-expt/main/recipes/hashicorp/terraform/1.1.2/revisions/default/r001/rendered/release-objects.yaml

# fetch the second retained file
$ curl -fsSL -o hashicorp-terraform-1-1-2-no-crds.yaml https://raw.githubusercontent.com/confighub/helm-expt/main/recipes/hashicorp/terraform/1.1.2/revisions/no-crds/r001/rendered/release-objects.yaml

# check the bytes against the two listings
$ shasum -a 256 hashicorp-terraform-1-1-2-default.yaml hashicorp-terraform-1-1-2-no-crds.yaml
5cc2a190066cc639af6f8856b1ff8e28a40e61546d53cd04f19c5b14d6c37d3b  hashicorp-terraform-1-1-2-default.yaml
a8b9e5e6ce83d71e19d70e4695bdda1a2cb28c26e094a0f28b70b58a3fc6a50a  hashicorp-terraform-1-1-2-no-crds.yaml

# count what changes
$ cub config diff hashicorp-terraform-1-1-2-default.yaml hashicorp-terraform-1-1-2-no-crds.yaml --summary

# list every changed field
$ cub config diff hashicorp-terraform-1-1-2-default.yaml hashicorp-terraform-1-1-2-no-crds.yaml

Use this entry in ConfigHub

Every Catalog entry page carries these five steps in this order. Each step says what the Catalog has run for this entry, and a step with a missing precondition gives no command.

Steps 1 and 2 need no account. Install the cub CLI before any cub command. Step 2 uses cub config diff, which cub plugin install confighub/cub-workshop@v0.6.61 adds. A live walk on 2026-10-08 ran steps 3 to 5 for bitnami-nginx-24-0-2-http-clusterip and nvidia-gpu-operator-v26-3-3-default. These commands carry the changes that walk needed. It is a dated log and no receipt, so no state on this page rests on it. These are the steps for 1.1.2, the newest version, on its default base.

What is fixed, and what you supply

Fixed when this entry was built. These went into the build, so the objects already carry them. To change one, build the entry again from its source.

  • chart is hashicorp/terraform
  • version is 1.1.2
  • base is default
  • valuesProfile is recipes/hashicorp/terraform/1.1.2/effective-values.yaml
  • namespace is default
  • releaseName is terraform
  • capabilityProfile is {"apiVersions":[],"kubeVersion":"1.30.0"}

Yours to supply or check. The destination must have these before the objects are applied. The words in italics say what the Catalog knows about each.

  • Terraform CLI credentials mounted at /etc/terraform/.terraformrc. kubectl -n default create secret generic terraformrc --from-file=credentials=<path-to-terraform-cli-config> Declared. Not checked on any destination.
  • Sensitive Terraform workspace variables mounted at /tmp/secrets. kubectl -n default apply -f <workspacesecrets-manifest.yaml> Declared. Not checked on any destination.
This entry's plan, and how to test it

These are the steps that plain objects cannot carry. ConfigHub stores them and does not carry them out. The words in italics say what the Catalog knows about each.

  • Before you deliver. 2 Secrets must exist before apply. Terraform CLI credentials mounted at /etc/terraform/.terraformrc. The listing gives the rest. Who: operator. Written down. Not run by the Catalog.
  • When you deliver. Apply the 1 CustomResourceDefinition object first. Wait until every named definition reports the Established condition. The listing gives the rest. Who: whatever applies the objects. Written down. Not run by the Catalog.

Test the install steps yourself. This script carries them out with kubectl on a cluster you choose, with no account. Read it first and use a throwaway cluster. The Catalog has no recorded run of this script.

Test the plain objects. A second script tests the retained objects themselves with kubectl, and it needs no cub and no account. The Catalog has no recorded run of this script.

Compared with plain Helm. The Catalog tried this base beside plain Helm on two local clusters. The result is recorded as blocked, with the reason "parity: semantic object diff". Read the receipt.

Read what a plan is, and why some entries have one.

1. Get the exact objects Run for this entry

The Catalog rendered this entry and retains its 5 objects in one file.

An upload can create more Units than the objects counted here. The installer renders a Namespace, and the upload adds an installer-record Unit.

Here is what the command does. cub installer is an open-source plugin for the cub CLI. cub installer setup pulls a catalog package and writes its Kubernetes files locally, leaving delivery to kubectl, Argo CD or Flux. The generated scripts stop before doing any work when the plugin or kustomize is missing.

# fetch the retained objects for this entry
$ curl -fsSL -o hashicorp-terraform-1-1-2-default.yaml https://raw.githubusercontent.com/confighub/helm-expt/main/recipes/hashicorp/terraform/1.1.2/revisions/default/r001/rendered/release-objects.yaml

# check the bytes against the listing
$ shasum -a 256 hashicorp-terraform-1-1-2-default.yaml
5cc2a190066cc639af6f8856b1ff8e28a40e61546d53cd04f19c5b14d6c37d3b  hashicorp-terraform-1-1-2-default.yaml

# render this base from the signed package; step 3 uploads this directory
$ cub installer setup --pull oci://europe-west1-docker.pkg.dev/nth-fort-499605-q5/helm-expt/hashicorp-terraform:1.1.2@sha256:0e51444dda2d64c54e8d09b63fbb8076e1da39681f996968f90d8c7145d778b9 --base default --work-dir ./hashicorp-terraform-1-1-2-default --non-interactive --namespace default

2. Compare with another version or base Not run for this entry

The listing records no comparison for this entry. The commands run on the retained files, with no account. This version has one other base in the Catalog, no-crds.

# fetch the no-crds base of the same version
$ curl -fsSL -o hashicorp-terraform-1-1-2-no-crds.yaml https://raw.githubusercontent.com/confighub/helm-expt/main/recipes/hashicorp/terraform/1.1.2/revisions/no-crds/r001/rendered/release-objects.yaml

# list what differs between the two bases
$ cub config diff hashicorp-terraform-1-1-2-default.yaml hashicorp-terraform-1-1-2-no-crds.yaml --summary

3. Upload it as a variant Run for this entry

The Catalog saved this entry in ConfigHub. The commands use its signed installer package. Read the log of the live walk on 2026-10-08 · Read the record that states this.

Replace each value in angle brackets with a name of your own. The entry id may already exist as a Space in your organization, and the package name as a Component.

In the live walk, a Space named for the nginx entry's id and a Component named bitnami-nginx already existed, so the walk chose its own names. The --component flag sets the Component label the upload writes on the Space, which is the package name when you omit it.

The cub installer plugin reads your organization from CUB_CONTEXT and ignores --context. If you use a context other than your default, export CUB_CONTEXT first, or the plugin works in your default organization.

# sign in; steps 3 to 5 write to your ConfigHub organization
$ cub auth login

# upload step 1's directory as a Space of Units, under names you choose
$ cub installer upload --work-dir ./hashicorp-terraform-1-1-2-default --space <your-space> --component <your-component>

# list the Units the upload created
$ cub unit list --space <your-space>

4. Deploy it Not run for this entry

No delivery run is recorded for this entry. Argo CD has not run, Flux has not run, and kubectl has not run. The commands name the Target workshop/target, which cub cluster up --name workshop creates on a local kind cluster with Argo CD. Use your own Target for a real destination. The listing records 2 inputs that the destination must supply, so read them before you deploy. Read the log of the live walk on 2026-10-08.

Use the Space name you chose in step 3. The delete command is needed because the cloned installer-record Unit carries the Target and Argo CD v3.5.4 cannot read it, a defect seen on cub v0.8.7 and server v0.8.9.

Without that line the walk deployed nothing and Argo CD showed Unknown, while every cub command exited 0. The walk ran the four commands in this order and did not try them without the first publish.

ConfigHub shows nothing when Argo CD fails to read a Release. Run kubectl -n argocd get applications.argoproj.io and read the Sync column, because Healthy alone is not a pass. Argo CD took between 18 seconds and about 5 minutes to read a Release on a cluster made without argobot.

The walk made its cluster with cub cluster up --no-argobot. That command creates two Spaces, a Worker, a Target and a Trigger, opens ports 30010 to 30019 on the machine, and installs Argo CD from an unpinned upstream manifest.

Removing the ConfigHub side does not remove the workload. In the walk, deleting the Application Unit and the Spaces left the Application and its pods running, because the root Application does not prune.

# clone the base onto a Target as a dev variant
$ cub variant create dev <your-space> --target workshop/target --space-pattern "template:<your-space>-dev"

# publish the Release that the cluster's Argo CD pulls
$ cub release publish <your-space>-dev

# delete the installer record, which Argo CD cannot read
$ cub unit delete --space <your-space>-dev installer-record

# publish again without it
$ cub release publish <your-space>-dev

5. Promote a change Partly run for this entry

A promotion ran for this entry. It ran the preview and the promote. The delete and the publish below have no recorded run for this entry. Promotion carries a change in the base to the dev variant. The base changes when you edit a Unit or upload a newer version into the same Space. Read the log of the live walk on 2026-10-08 · Read the record that states this.

The promotion changes the dev Space and publishes nothing. It also adds the installer-record Unit back with the Target. The change reaches the cluster only after the delete and the publish.

The preview lists the whole installer record as added. In the walk, the preview of a one-label change to gpu-operator ran to 405 lines, and about 400 of them were that record.

# preview what the dev variant would take from the base
$ cub variant promote <your-space>-dev --dry-run -o mutations

# promote once you have read the preview
$ cub variant promote <your-space>-dev --change-desc "Pull the reviewed base forward"

# delete the installer record that the promotion adds back
$ cub unit delete --space <your-space>-dev installer-record

# publish the Release that carries the change
$ cub release publish <your-space>-dev

Use another version or base

Every other base carries the same five steps, with its own states and commands, on the page of its version.

Read this page as data

One file holds everything on this page in a form a program can read.

Technical notes and disclaimers

  • The plain-objects script stops before it applies anything. One step of the plan is yours to do first, and it prints it. When you run it again it applies the objects and ends. It does not wait for the workloads to start. Neither script runs the steps the plan names for an upgrade or a delete.
Generated from the Catalog listings of hashicorp/terraform. Do not edit by hand.