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
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 |