1. Docs
  2. Pulumi IaC
  3. Concepts
  4. Compare to...
  5. Terraform
  6. Pulumi equivalents

Pulumi terms & command equivalents

    If you’re already familiar with Terraform, learning Pulumi terminology and commands is simple. Many of the existing Terraform vocabulary and commands that you already know have direct equivalents in Pulumi. The table below lists common Terraform terms and CLI commands along with their Pulumi equivalents.

    Terminology

    TerraformPulumi
    WorkspaceStack
    VariablesStack Config
    DirectoryProject
    ModuleComponent
    ResourceResource
    InterpolationInterpolation
    RunUp
    Output ValuesOutputs
    StateState
    State VersionUpdate Events
    BackendBackend
    DeposedPending Operations

    Commands

    TerraformPulumi
    initpulumi new
    validateValidation is performed with the inherent syntax checking and testing frameworks in the supported programming languages
    planpulumi preview
    applypulumi up
    destroypulumi destroy
    consolePulumi commands can be evaluated in a standard programming language shell
    fmtStandard programming language linting tools checks for format and style
    force-unlockpulumi cancel
    getReusable modules are directly imported as a library in the programming language
    graphpulumi stack graph
    importpulumi import -f resources.json
    loginpulumi login
    logoutpulumi logout
    outputpulumi stack output
    providerspulumi plugin
    refreshpulumi refresh
    showpulumi stack
    statepulumi state
    versionpulumi version
    workspacepulumi stack
      PulumiUP 2024. Watch On Demand.