Giter Site home page Giter Site logo

kasper886 / terraform-lessons Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adv4000/terraform-lessons

0.0 0.0 0.0 310 KB

Source Code for Course "Terraform From Beginner to Professional"

Home Page: https://www.udemy.com/course/rus-terraform/?referralCode=6F5EDF9F96494201367B

HCL 96.93% Shell 3.07%

terraform-lessons's Introduction


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: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 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}

terraform-lessons's People

Contributors

adv4000 avatar denis-opsguru avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.