HFCP study materials
HFCP study resources

HFCP key terms

HFCP · Get comfortable with the vocabulary.

Provider

A plugin that lets Terraform talk to a specific platform's API, defining which resource types and data sources exist and how they are created, read, updated, and deleted.

Related: Resource, State File
State File

Terraform's record of which real infrastructure objects it manages and their last known attributes, used to plan changes and detect drift between configuration and reality.

Related: Plan, Remote Backend, Drift
Plan

A dry-run comparison Terraform produces between desired configuration, stored state, and actual infrastructure, listing the create, update, and destroy actions it would take.

Related: Apply, State File, Drift
Apply

The Terraform step that executes the actions in a saved plan, calling provider APIs to reach the desired configuration and then refreshing state to match results.

Related: Plan, State File
Remote Backend

A configuration that stores state outside the local machine, such as a cloud object store or HCP Terraform, enabling shared access, locking, and durability across a team.

Related: State File, State Locking
State Locking

A mechanism that prevents two Terraform runs from modifying the same state concurrently, avoiding corruption and conflicting changes when several people or pipelines operate together.

Related: Remote Backend, State File
Resource

A block in Terraform configuration declaring one infrastructure object to manage, such as a network, compute instance, or DNS record, with arguments describing its desired settings.

Related: Provider, Module
Module

A reusable, self-contained collection of Terraform configuration files that can be called with input variables and returns outputs, letting teams standardize repeated infrastructure patterns.

Related: Variable, Output, Registry
Variable

A declared input to a Terraform module or configuration that lets callers supply values without editing code, supporting defaults, type constraints, and validation rules.

Related: Output, Module
Output

A value a Terraform configuration exposes after apply, such as an IP address or endpoint, which can be shown to users or consumed by other configurations and modules.

Related: Variable, Module
Drift

The divergence between what Terraform state records and the actual state of infrastructure, often caused by manual console changes, which planning reveals as unexpected proposed actions.

Related: State File, Plan
Registry

A catalog of published Terraform providers and modules that teams can browse, version, and reference from configuration, with HCP Terraform offering a private registry for internal modules.

Related: Module, Provider
Workspace

An isolated unit of Terraform runs, state, and variables inside HCP Terraform, letting one configuration be deployed to multiple environments or accounts with separate state.

Related: Remote Backend, Run
Run

A single execution of plan and apply inside HCP Terraform, triggered by a version control change, API call, or CLI, with logs, policy checks, and approvals recorded for auditing.

Related: Workspace, Policy as Code
Policy as Code

Expressing guardrails as machine-evaluated rules, such as Sentinel or Open Policy Agent policies, so infrastructure plans are checked automatically for violations before they can be applied.

Related: Run, Sentinel
Sentinel

HashiCorp's embeddable policy language and framework used in HCP Terraform to evaluate plans and state against organizational rules, producing soft or hard enforcement failures.

Related: Policy as Code, Run
VCS-Driven Workflow

A pipeline pattern where a linked version control repository triggers HCP Terraform runs automatically on pull requests or merges, keeping infrastructure changes reviewed alongside application code.

Related: Run, Workspace
Secret

Any sensitive value such as a password, API token, private key, or certificate that must be protected from unauthorized reading and ideally rotated on a defined schedule.

Related: Secrets Engine, Dynamic Secret
Secrets Engine

A Vault component that stores, generates, or encrypts data, such as the key-value store, database engine, or PKI engine, mounted at a path with its own configuration and policies.

Related: Secret, Dynamic Secret, Mount
Dynamic Secret

Credentials Vault generates on demand for a user or service, with a limited lifetime and automatic revocation, replacing long-lived static passwords with short-lived ones.

Related: Lease, Secrets Engine, Secret
Lease

The metadata attached to a Vault secret or token describing how long it remains valid and whether it is renewable, enabling automatic expiry and revocation of access.

Related: Dynamic Secret, Token
Token

The core Vault credential presented on requests, carrying attached policies and a TTL, and created through authentication methods or by other tokens with sufficient permission.

Related: Policy, Auth Method, Lease
Auth Method

A Vault plugin that verifies an identity from an external source, such as Kubernetes service accounts, cloud IAM, or LDAP, and issues a Vault token bound to mapped policies.

Related: Token, Policy
Policy

A Vault document written in HCL that grants or denies capabilities such as read, create, or update on specified paths, defining what a token is allowed to do.

Related: Token, Auth Method
Seal and Unseal

The process by which Vault starts locked with its master key protected, then reconstructs that key from unseal shares or an auto-unseal service so it can decrypt stored data.

Related: Secrets Engine
Mount

The registration of a secrets engine or auth method at a path inside Vault, giving it an isolated namespace, configuration, and access rules within the server.

Related: Secrets Engine, Auth Method
Vault Agent

A client-side daemon that authenticates to Vault, caches and renews tokens, and renders secrets into files or environment variables for applications that cannot call the API directly.

Related: Token, Auth Method
Virtual Private Cloud

An isolated virtual network within a cloud provider that defines its own address ranges, subnets, routing, and gateways, forming the boundary for the resources deployed inside it.

Related: Subnet, Security Group
Subnet

A contiguous range of IP addresses carved from a VPC and placed in one availability zone, used to group resources and control routing and public versus private exposure.

Related: Virtual Private Cloud, Route Table
Route Table

A set of rules attached to subnets that decides where traffic for each destination prefix is sent, such as a local network, internet gateway, or NAT device.

Related: Subnet, NAT Gateway
Security Group

A stateful virtual firewall attached to resources that permits or denies inbound and outbound traffic by protocol, port, and source or destination address.

Related: Virtual Private Cloud, Network Policy
NAT Gateway

A managed service that lets instances in private subnets initiate outbound internet connections while preventing unsolicited inbound traffic from reaching them.

Related: Subnet, Route Table
Service Mesh

An infrastructure layer that handles service-to-service communication, providing mutual TLS, traffic routing, retries, and observability without changing application code.

Related: Sidecar Proxy, mTLS, Consul
Sidecar Proxy

A process deployed alongside each service instance that intercepts network traffic, enforcing mesh policies and collecting telemetry on behalf of the application.

Related: Service Mesh, mTLS
mTLS

Mutual TLS authentication in which both client and server present certificates, so each side verifies the other's identity and traffic is encrypted end to end.

Related: Service Mesh, Service Identity
Service Identity

A verifiable name and certificate assigned to a service instance, used by a mesh to authorize which services may communicate and to scope policies to workloads rather than hosts.

Related: mTLS, Intentions
Intentions

Consul's mechanism for declaring whether one service is allowed to connect to another, evaluated by the mesh to permit or deny traffic between service identities.

Related: Service Identity, Consul
Consul

HashiCorp's service networking product providing service discovery, health checking, a service mesh with certificates, and key-value storage across multiple datacenters and clouds.

Related: Service Mesh, Intentions
Service Discovery

The mechanism by which clients locate healthy instances of a service, typically through a registry that tracks addresses and health rather than hard-coded endpoints.

Related: Consul, Health Check
Health Check

A periodic probe that determines whether a service instance is functioning, so discovery and load balancing can route traffic only to healthy endpoints.

Related: Service Discovery, Consul
HCP

HashiCorp Cloud Platform, a managed offering that runs products such as Terraform, Vault, Consul, and Packer as hosted services with HashiCorp operating the control plane.

Related: HCP Vault, Organization
Organization

The top-level container in HCP Terraform that groups workspaces, teams, policies, and billing, and controls access through team membership and permissions.

Related: Workspace, Team
Team

A group of HCP Terraform users granted a shared permission level on selected workspaces, simplifying access management and separating duties across an organization.

Related: Organization, Workspace
HCP Vault

A managed Vault cluster operated by HashiCorp, exposing the same API and features while the provider handles upgrades, availability, and infrastructure, with networking configured by the customer.

Related: HCP, Secrets Engine
Service Principal

A non-human identity used by automation to authenticate to HashiCorp cloud services, carrying scoped permissions instead of relying on a person's credentials.

Related: Organization, CI/CD Pipeline
CI/CD Pipeline

An automated sequence that builds, tests, and deploys changes, commonly running Terraform plan on pull requests and apply after merge with credentials supplied securely.

Related: VCS-Driven Workflow, Service Principal
Run Trigger

A dependency that causes a workspace's run to start after another workspace completes, used to sequence layered infrastructure such as networks before applications.

Related: Run, Workspace
Cloud Computing Fundamentals

The baseline concepts of on-demand compute, storage, and networking delivered as services, including regions, availability zones, elasticity, shared responsibility, and pay-per-use billing.

Related: Virtual Private Cloud, Infrastructure as Code
Infrastructure as Code

Managing infrastructure through versioned, machine-readable configuration files instead of manual console actions, enabling review, repeatability, and automated provisioning.

Related: Provider, Plan, CI/CD Pipeline