This repository is a place to show examples of HashiCorp's Terraform in use as well as help others learn. To use Terraform in your project, check out their site
This will initialize Terraform in the working directory by downloading the required providers and any specified modules.
This is used to draft up a list of changes to be made based on the existing .tfstate
file.
This will re-run terraform plan
and prepare for deploying of you infrastrucure. After this
command completes, you will be asked if you wish to proceed with deployment. This can be automated
by appending --auto-approve
as a command line argument.
Running terraform fmt
will automatically format your Terraform code to match that of the standard set
by HashiCorp. By appending --check
, the command will return a pass or fail depending on if your code
meets the standard.
- Terraform Up & Running: Writing Infrastructure as Code by Yevgeniy Brikman
- Infrastructure as Code by Kief Morris
- Complete Terraform Course - From BEGINNER to PRO! (Learn Infrastructure as Code)
- This is GitOps YouTube channel
- Intro to Terraform
- Terraform's Providers and Modules Registry