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
Terraform | Pulumi |
---|---|
Workspace | Stack |
Variables | Stack Config |
Directory | Project |
Module | Component |
Resource | Resource |
Interpolation | Interpolation |
Run | Up |
Output Values | Outputs |
State | State |
State Version | Update Events |
Backend | Backend |
Deposed | Pending Operations |
Commands
Terraform | Pulumi |
---|---|
init | pulumi new |
validate | Validation is performed with the inherent syntax checking and testing frameworks in the supported programming languages |
plan | pulumi preview |
apply | pulumi up |
destroy | pulumi destroy |
console | Pulumi commands can be evaluated in a standard programming language shell |
fmt | Standard programming language linting tools checks for format and style |
force-unlock | pulumi cancel |
get | Reusable modules are directly imported as a library in the programming language |
graph | pulumi stack graph |
import | pulumi import -f resources.json |
login | pulumi login |
logout | pulumi logout |
output | pulumi stack output |
providers | pulumi plugin |
refresh | pulumi refresh |
show | pulumi stack |
state | pulumi state |
version | pulumi version |
workspace | pulumi stack |
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.