![](terraform.jpg)
Terraform 0.12+ Lessons by Denis Astahov
Set AWS Credentials in Windows PowerShell:
$env:AWS_ACCESS_KEY_ID="xxxxxxxxxxxxxxxxx"
$env:AWS_SECRET_ACCESS_KEY="yyyyyyyyyyyyyyyyyyyyyyyyyyyy"
$env:AWS_DEFAULT_REGION="zzzzzzzzz"
Set AWS Credentials in Linux Shell:
export AWS_ACCESS_KEY_ID="xxxxxxxxxxxxxxxxx"
export AWS_SECRET_ACCESS_KEY="yyyyyyyyyyyyyyyyyyyyyyyyyyyy"
export AWS_DEFAULT_REGION="zzzzzzzzz"
terraform init
terraform plan
terraform apply
terraform destroy
terraform show
terraform output
terraform console