OnCallReadyStart learning

Terraform in Real Life & the Associate Exam: glossary

104 terms, in plain words, with where each one is taught.

--soft-fail (soft-fail)
A checkov flag: report findings but always exit 0, used while introducing a scanner. Lesson 16.10
.tflint.hcl
tflint's config file: which rulesets and plugin versions to use and which extra rules to switch on. Lesson 16.6
access policy (access policies)
The older Key Vault permission model: a list of who may do what, stored inside the vault itself. Lesson 16.2
ACR (Azure Container Registry, AcrPull)
Azure Container Registry, Azure's image registry; the AcrPull role may download images from it. Lesson 16.20
API key (API keys)
A long random string an app uses to log in to another service. Lesson 16.20
app settings (app_settings)
The environment variables App Service gives the app when it starts. Lesson 16.20
association resource (azurerm_subnet_network_security_group_association)
A separate Terraform resource that only links two others (e.g. an NSG to a subnet), so the link can change without replacing either side. Lesson 16.2
Azure quota (subscription quota)
Azure's limit on how much of something (e.g. CPUs of one VM size) your subscription may create. Lesson 16.6
Azure SQL (azurerm_mssql_server)
Azure's managed SQL Server database service. Lesson 16.20
break-glass (break-glass access)
An emergency login used only when the normal path (the pipeline) is broken; logged and exceptional. Lesson 16.15
changelog
The list of what changed in each release of a tool, provider or module. Lesson 16.23
check ID (CKV_AZURE, CKV2)
The stable name of one checkov rule, e.g. CKV_AZURE_59 (storage accounts disallow public access). Lesson 16.10
Cilium
Software that handles container networking and enforces network policy in a cluster. Lesson 16.2
CLI workspace (CLI workspaces, terraform workspace)
A named, separate state for the same folder of Terraform code. Every folder starts with one called default; terraform workspace new/select switches between them. Not the same thing as an HCP Terraform workspace. Lesson 16.1
cloud block
The terraform { cloud { ... } } block (1.1+) that connects a folder to HCP Terraform instead of a backend. Lesson 16.28
crash.log (panic)
The file Terraform writes when it crashes (a "panic") in the working directory.
custom policy (custom policies)
An organisation's own rule (e.g. every storage account has an owner tag) added to a scanner or policy tool. Lesson 16.10
data-plane role (data plane)
A role about the data inside a resource (read secrets, read files) rather than about managing the resource itself. Lesson 16.20
DBA (database administrator)
Database administrator: the person or team who runs the databases - logins, backups, performance.
default workspace
The workspace every Terraform folder starts with. It always exists and cannot be deleted. Lesson 16.1
deprecated interpolation (terraform_deprecated_interpolation)
Wrapping a lone reference in a string, "${var.x}" - old Terraform 0.11 style. Write the reference bare: var.x. Lesson 16.6
dev (development environment)
The small, cheap environment where engineers try changes first. Lesson 16.1
directory per environment (directory-per-environment)
A layout with one folder (a thin root module) per environment, each with its own state key and tfvars, all calling the same shared module. Lesson 16.1
distractor (distractors)
A wrong answer option written to look right, often reusing real words in the wrong place. Lesson 16.29
dns_prefix
The start of a cluster's web address in Azure. Changing it replaces the whole cluster. Lesson 16.2
drift job (nightly drift job)
A scheduled plan -detailed-exitcode over every environment that reports when reality and code disagree.
dynamic provider credentials
HCP logging in to Azure per run with OIDC, so no long-lived password is stored. Lesson 16.28
enforcement level (advisory, soft-mandatory, hard-mandatory)
How strictly a Sentinel policy applies: advisory warns, soft-mandatory fails unless overridden, hard-mandatory always fails. Lesson 16.28
environment promotion (promote to prod)
Moving a change from dev to test to prod, one environment at a time, usually one PR per environment. Lesson 16.1
exam objective (004 objectives)
One numbered item (e.g. 6b, state locking) on the exam's official list of what it tests. Lesson 16.29
execution mode (remote execution, agent execution)
Where an HCP run happens: remote (HCP machines), local (your machine, HCP only stores state) or agent (your own machine inside your network). Lesson 16.28
forward-only state (state is forward-only)
Once a newer Terraform writes a state, older Terraform binaries refuse to read it; there is no downgrade. Lesson 16.23
geo-redundant (GRS, LRS, ZRS)
Storage kept in copies in a second region (GRS). LRS keeps copies in one datacentre, ZRS across zones in one region.
git hook (hook, hooks)
A script git runs automatically at a certain moment, e.g. just before each commit. Lesson 16.6
globally unique
A name that must be unique across all Azure customers, like Key Vault and storage account names. Lesson 16.2
Graphviz
A tool that draws graphs from text in the DOT format - what terraform graph prints.
guardrail (guardrails)
A rule built into the code itself (validation, precondition, check block) so every plan enforces it.
HCP run (remote run, remote runs)
In HCP Terraform, one plan (and maybe apply) executed by the service. Lesson 16.28
health assessment (continuous validation)
HCP's scheduled refresh-only plans and re-checks of check blocks, flagging workspaces that drifted. Lesson 16.28
hidden dependency
A resource that needs another one it never references, so Terraform cannot see the order; depends_on fixes it. Lesson 16.2
Key Vault reference (@Microsoft.KeyVault)
An app setting holding a pointer to a Key Vault secret; the platform fetches the real value when the app starts, using the app's identity. Lesson 16.20
Key Vault Secrets User
A built-in Azure role that may read secret values from a Key Vault, and nothing else. Lesson 16.2
kubeconfig (kube_config_raw, kube_config)
The login file for a cluster. It is a credential: mark it sensitive, and remember it is still in state. Lesson 16.2
leak path
The script, output or setting through which a secret escaped. Remove it before rotating, or the new secret leaks too.
least privilege
Giving an identity the smallest permission that works: the narrowest role on the narrowest scope. Lesson 16.2
local account (local_account_disabled, local admin account)
A built-in shared admin login to the cluster. Disabling it means everyone logs in with their own Entra ID account. Lesson 16.2
Makefile (Makefiles)
A file of named commands run with make, often used so developers and the pipeline run the same steps. Lesson 16.15
mock exam (mock exams)
A timed practice exam with random questions, scored against the 70% pass mark. Lesson 16.29
Network Contributor
A built-in Azure role that may manage network resources (addresses, load balancers) within its scope. Lesson 16.2
network plugin (network_plugin, Azure CNI, overlay)
The cluster setting that decides how containers get network addresses; with overlay they come from a private range inside the cluster instead of the subnet. Lesson 16.2
network policy (network_policy)
Firewall rules between containers inside a cluster. Cilium is one piece of software that enforces them. Lesson 16.2
node pool (default_node_pool, system pool)
A group of identical machines in a cluster, set by a count and a VM size. Lesson 16.2
OPA (Open Policy Agent, Rego, Conftest)
Open Policy Agent: a general tool for writing your own policies in the Rego language; Conftest runs them against files such as plan JSON. Lesson 16.10
organization (HCP organization)
The top level of HCP Terraform: the company account, its teams, billing, SSO and private registry. Lesson 16.28
pipeline stage (pipeline stages)
A pipeline is split into stages (plan, apply), made of jobs, made of steps (single commands). Lesson 16.15
plan scan
Scanning the JSON of a saved plan, which contains the final values from every var file and flag. Lesson 16.10
policy as code
Security and organisation rules written as machine-checked code that runs on every change, instead of relying on reviewers to remember them. Lesson 16.10
policy gate
A script that reads the plan JSON and fails the pipeline if the plan does something forbidden, such as destroying stateful resources. Lesson 16.15
policy set (policy sets)
A group of Sentinel or OPA policies attached to HCP workspaces and checked between plan and apply. Lesson 16.28
pre-commit (pre-commit hook)
A tool that manages git hooks from .pre-commit-config.yaml, so fmt, validate and linters run before every commit. Lesson 16.6
preset (recommended preset)
A named set of rules switched on together, e.g. tflint's "recommended". Lesson 16.6
principal_id (principal)
The ID of an identity (a person, app or managed identity) in Microsoft's login directory; the "who" of a role assignment. Lesson 16.2
proctored (online proctored, proctor)
Taken under supervision; online proctored means at home, on camera, with a remote supervisor. Lesson 16.29
project (HCP project)
A group of HCP workspaces, usually per team or product; team access is often granted here. Lesson 16.28
provider schema (provider schemas, schema)
A provider's list of which resources exist, which arguments they take and their types. terraform validate checks the code against it. Lesson 16.6
public network access (public_network_access_enabled)
Whether a resource can be reached from the whole internet rather than only from your own networks. Lesson 16.10
purge protection (purge_protection_enabled)
Nobody can wipe a deleted vault for good during its retention period - which also keeps its name taken for that time. Lesson 16.2
RBAC authorization (enable_rbac_authorization, rbac_authorization_enabled, RBAC mode)
The Key Vault mode where who may read secrets is decided by ordinary role assignments, instead of a separate access-policy list inside the vault. Lesson 16.2
RDP
Remote Desktop Protocol: Windows' remote login, on port 3389. Lesson 16.10
Reader (Contributor)
Built-in Azure roles: Reader can read everything, Contributor can change everything except permissions, Owner can do everything. Lesson 16.15
resource_changes (change.actions)
The list in plan JSON with one entry per resource: its address, type and the actions planned (create, update, delete...). Lesson 16.15
retention (artifact retention)
How long a pipeline server keeps artifacts. Plans contain secrets, so keep it short. Lesson 16.15
role scope
The "on what" of a role assignment: the resource, resource group or subscription the permission applies to. Lesson 16.2
ruleset (rulesets)
A bundle of lint rules. tflint has a built-in terraform ruleset and plugin rulesets for clouds, like azurerm. Lesson 16.6
run task (run tasks)
An HCP hook that calls an external service (scanner, cost estimate) during a run and can block it. Lesson 16.28
run trigger (run triggers)
An HCP link between workspaces: when one applies, runs are queued in the workspaces that depend on it.
SaaS
Software as a service: a product you use over the internet instead of installing it yourself.
SARIF
A standard file format for scanner results that GitHub and other tools can display next to the code. Lesson 16.10
security scanner (scanners)
A tool that reads infrastructure code (or a plan) and reports settings that break known security rules. Lesson 16.10
Sentinel
HashiCorp's policy language, used in HCP Terraform to check plans before apply. Lesson 16.10
service connection
Azure DevOps' stored login to Azure that pipeline steps use. Lesson 16.15
skip comment (checkov:skip, suppression, suppress)
A #checkov:skip=ID:reason comment inside a resource that records one justified exception, shown as SKIPPED in every scan. Lesson 16.10
speculative plan
A plan-only HCP run, started by a PR, that can never be applied. Lesson 16.28
SSO (single sign-on)
Single sign-on: logging in to a service with your company account. Lesson 16.28
stateful resource (stateful types, stateful)
A resource holding data you cannot get back if it is destroyed: storage accounts, vaults, databases, clusters. Lesson 16.15
static scan
Scanning the code in a folder, with variables filled from defaults and auto-loaded tfvars only. Lesson 16.10
system-assigned identity (SystemAssigned)
A managed identity created together with one resource and deleted with it. Lesson 16.2
terraform login (API token, credentials.tfrc.json)
Creates an HCP API token in the browser and saves it in ~/.terraform.d/credentials.tfrc.json. Lesson 16.28
terraform providers lock
Records provider checksums for every -platform listed, so the lock file works on Macs and Linux runners alike. Lesson 16.23
terraform.tfstate.d
The folder where the local backend keeps the state of every CLI workspace other than default, one subfolder per workspace. Lesson 16.1
terraform.workspace
A built-in value holding the name of the current CLI workspace, e.g. "prod", usable anywhere in the code. Lesson 16.1
Terragrunt
A separate tool that wraps Terraform and generates the repeated parts of many root modules (backend, provider, inputs) from a tree of config files. Lesson 16.1
TF_WORKSPACE
An environment variable that selects a CLI workspace without running terraform workspace select. Lesson 16.1
tflint plugin (tflint --init)
An extra ruleset tflint downloads from the plugin blocks in .tflint.hcl when you run tflint --init. Lesson 16.6
tfsec
An older Terraform security scanner, now replaced by trivy; still seen in old pipelines. Lesson 16.10
thin root (thin roots)
A root module that holds only a backend, a provider, one or two module calls and values; everything shared lives in the module. Lesson 16.1
upgrade guide
A provider documentation page listing every breaking change of a major version. Lesson 16.23
uptime SLA (paid SLA tier)
A promise from Azure, with money back, that a service stays available; a cluster gets one on the paid Standard tier. Lesson 16.2
user-assigned identity (user-assigned managed identity, azurerm_user_assigned_identity)
A managed identity that is its own resource: created before whatever uses it, so it can be granted roles first and survives the resource being recreated. Lesson 16.2
variable set (variable sets, priority variable set)
Variables shared by many HCP workspaces. Workspace variables override them unless the set is marked priority. Lesson 16.28
VCS (version control system)
Version control system - in practice your git host, such as GitHub. Lesson 16.28
version manager (tfenv, mise, asdf)
A tool (tfenv, mise, asdf) that installs several Terraform versions side by side and picks one per folder, often from a .terraform-version file. Lesson 16.23
versionless ID (versionless_id, versionless secret URI, versionless)
A secret's address without a version number, which always means the current version - so rotations reach the app without a code change. Lesson 16.20
write-only argument (_wo, write-only)
Terraform 1.11+: an argument sent to the provider but never recorded; a _wo_version number tells Terraform when to send a new value. Lesson 16.20