Source Code for Course "Terraform From Beginner to Professional"
Last updated May 9, 2026
240
Stars
192
Forks
0
Issues
0
Stars/day
Attention Score
71
Topics
Language breakdown
HCL 96.5%
Shell 2.4%
Python 1.0%
▸ Files
click to expand
README

Course covering all features of Terraform v0.12, v0.13, v0.14, v0.15 and v1.x
Terraform Lessons by Denis Astahov
Set AWS Credentials in Windows PowerShell:
$env:AWSACCESSKEY_ID="xxxxxxxxxxxxxxxxx"
$env:AWSSECRETACCESS_KEY="yyyyyyyyyyyyyyyyyyyyyyyyyyyy"
$env:AWSDEFAULTREGION="zzzzzzzzz"
Set AWS Credentials in Linux Shell:
export AWSACCESSKEY_ID="xxxxxxxxxxxxxxxxx"
export AWSSECRETACCESS_KEY="yyyyyyyyyyyyyyyyyyyyyyyyyyyy"
export AWSDEFAULTREGION="zzzzzzzzz"
Terraform Commands
terraform init
terraform plan
terraform apply
terraform destroy
terraform show terraform output terraform console terraform import terraform taint
Terraform State Commands
terraform state show
terraform state list
terraform state pull
terraform state rm
terraform state mv
terraform state push
for x in $(terraform state list | grep xyz); do terraform state mv -state-out=”terraform.tfstate” $x $x; done
Terraform Workspace Commands
terraform workspace show
terraform workspace list
terraform workspace new
terraform workspace select
terraform workspace delete
${terraform.workspace}🔗 More in this category