Commands COPY Flashcards
To learn each Terraform command and what it does.
Builds or changes infrastructure according to Terraform configuration files.
apply
Starts an interactive console for experimenting with Terraform interpolations but never alters the state.
console
Destroys Terraform-managed infrastructure and asks for confirmation before doing so.
destroy
Used to rewrite Terraform configuration files to a cannonical format and style.
fmt
Used to manually remove lock on the state for the current configuration.
force-unlock
Used to download and update modules
get
Used to generate a graph or configuration or an execution plan.
graph
Used to find existing resources and import them.
import
Used to initialize a working directory. This is the first command that should be run after writing a new Terraform configuration or cloning an existing one from version control.
init
Used to extract the value of an output variable.
output
Used to create an execution plan
plan
Used to print information about providers.
providers
Used to upload your configuration.
push
Used to update the state file. Can be used to detect any dift. Modifies the state file.
refresh
Used to provide output from a state or plan file.
show