Aliases used:
(add these into your ~/.bashrc
, ~/.bash_profile
, ~/.zhrc
, etc. and use source
command to apply them.)
alias t=terraform
export $aa="-auto-approve"
Commands/Flags Legend:
t = terraform command abbreviated.
$aa = -auto-approve skips interactive approval of plan before applying.
t init = command is used to initialize a working directory containing terraform configuration files.
t show = command is used to provide human-readable output from a state or plan file.
t plan = command creates an execution plan.
t apply = command executes the actions proposed in a terraform plan.
t destroy = command is a convenient way to destroy all remote objects managed by a particular terraform configuration.
Hello World!
Documentation
1.1 | main.tf |
---|---|
1.2 | main.tf |
1.3 | main.tf |
Lifecycle of a Terraform Resource
Documentation
2.1 | main.tf |
---|---|
2.2 | main.tf |
2.3 | main.tf |
2.4 | main.tf |
2.5 | main.tf |