eveld / workshop-terraform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terraform fundamentals

Exam Review - Terraform Associate Certification (002)

Understanding Terraform basics

  • Install terraform
    • manual installation
    • verify
    • terraform version
  • Navigate Terraform workflow
    • terraform init
    • terraform plan
    • terraform apply
    • update resource
    • terraform destroy
  • providers & terraform settings
    • Find and install providers
    • required providers
    • configuration
    • versioning
    • dependency lock file
  • default local backend
  • terraform state
    • terraform state list
    • terraform show

Read, generate and modify configuration

  • resources
  • dependencies
    • resource adressing
    • references to named values
    • explicit dependencies
  • datasources
  • input variables
  • output values
  • complex types
  • built-in functions
    • count
    • file
    • templatefile
    • splat
    • lookup
    • conditionals
    • dynamic blocks
    • loops

Use the Terraform CLI (outside of core workflow)

  • enable tab completion
  • terraform fmt
  • terraform validate
  • terraform workspace
    • terraform workspace new
    • terraform workspace list
    • terraform workspace select
    • terraform workspace delete
  • verbose logging
    • core
    • provider
    • path
  • terraform console

Interact with Terraform modules

  • finding and using modules
    • module sources
    • terraform registry
    • private registry
    • local modules
    • module versioning
  • interact with module inputs and outputs
    • variable scope
    • outputs
    • child modules
    • meta arguments
  • refactoring
    • standard module structure
    • moved block

Providers

  • multiple configurations
  • local provider binaries

Provisioners

  • Provisioners
    • local-exec
    • remote exec

Terraform settings

  • required version
  • required providers
  • experimental language features

Installation

  • homebrew
  • chocolatey
  • apt/yum

Implement and maintain state

  • remote state backends
  • backend authentication
  • state locking
  • sensitive data in state
  • terraform state mv
  • terraform state rm
  • terraform refresh
  • terraform plan -replace
  • terraform apply -replace

About


Languages

Language:Shell 68.6%Language:HCL 31.4%