Common commands in Terraform

$ terraform help

Common commands:

apply              Builds or changes infrastructure

console            Interactive console for Terraform interpolations

destroy            Destroy Terraform-managed infrastructure

env                Workspace management

fmt                Rewrites config files to canonical format

get                Download and install modules for the configuration

graph              Create a visual graph of Terraform resources

import             Import existing infrastructure into Terraform

init               Initialize a Terraform working directory

output             Read an output from a state file

plan               Generate and show an execution plan

providers          Prints a tree of the providers used in the config

push               Upload this Terraform module to Atlas to run

refresh            Update local state file against real resources

show               Inspect Terraform state or plan

taint              Manually mark a resource for recreation

Published by Aryan Nava

Founder of "BlockchainMind", CTO for two Blockchain startup during 2018, Cloud/DevOps Consultant and Blockchain Trainer

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: