- Download Terraform and add it to your PATH
- Create a GitHub project (repo)
- Clone the repo locally
git clone <PROJECT_URL>
cd <PROJECT>
- Add your Terraform files
- Open a terminal and navigate to the project folder
- Log in to Azure
- Run Terraform commands
terraform init
terraform plan
terraform apply
- To destroy resources without confirmation
terraform destroy -auto-approve
- Add your project files into the cloned folder
git add .
git commit -m "Add project files"
- Push the files to GitHub
- Continue working (future updates)
git add .
git commit -m "Update README"
git push