Giter Site home page Giter Site logo

terraform-deep-dive's Introduction

Terraform with AWS

what is Infrastructure as Code (IaC)

  • Ansible
  • Chef
  • Puppet
  • Terraform

Terraform Setup

  • Linux
  • MacOS
  • Windows

AWS account creation and AWS CLI setup

Understanding AWS services

These AWS services below will be create using terraform. So we need to understand on how to handle the services in different scenarios manually and then autmate the process.

  • AWS EC2
  • AWS VPC (IGW, RouteTable, Subnet, SecurityGroup etc.,)
  • AWS S3 Bucket
  • Key Management
  • IAM
  • EBS
  • AMI
  • ELB
  • ASG
  • AWS Block Storage

Azure account creation and CLI setup/Configure

Understanding Azure services

These Azure services below will be create using terraform. So we need to understand on how to handle the services in different scenarios manually and then autmate the process.

  • Azure Virtual Machines
  • VirtaulNetwork
  • Azure Disk
  • Azure Files
  • Azure Containers Instances
  • Azure Container Registry
  • Aure Kubernetes
  • Azure Database for MySQL
  • Azure LoadBalancer

Terraform basic commands and HCL syntax

  • terraform commands

    • terraform init
    • terraform validate
    • terraform plan
    • terraform apply
    • terraform destroy
    • terraform fmt/validate/workspace/state
  • terraform configuration language syntax

    • blocks
    • arguments
    • attributes
    • meta-arguments
    • identifiers
    • comments
  • terraform top-level blocks

    • settings block
    • provider block
    • resource block
    • input variable block
    • output value block
    • local value block
    • data source block
    • modules block

Multiple Providers usage Dependency Lock File Importance

Terraform resources

  • Resources Syntax and Behavior
  • Resources Meta-Argument - depends_on
  • Resources Meta-Argument - count
  • Resources Meta-Argument - for_each
  • Resources Meta-Argument - lifecycle

Terraform variables

  • Basics
  • Assign When Prompted
  • Override default with cli var
  • Override with environment variables
  • Assign with terraform.tfvars
  • Assign with tfvars var-file argument
  • Assign with auto tfvars
  • Lists & Maps
  • Validation Rules
  • Sensitive Input Variables

Terraform Functions

  • Filesystem
  • Collection
  • String
  • Numeric

Terraform Values

  • Output values
  • Local values

Terraform datasources

  • datasource arguments
  • lifecycle

Terraform Backends

  • Local State Storage
  • Remote State Storage
    • S3 bucket
  • State Commands

Terraform Workspaces

  • CLI Workspaces with local backend
  • CLI Workspaces with remote backend

Terraform Provisioners

  • File Provisioner
  • local-exec Provisioner
  • remote-exec Provisioner
  • Null Resource

Terraform Modules

  • Modules from Public Registry
  • Build Local Module

Terraform Cloud

  • Terraform Cloud - VCS-Driven Worflow
  • Terraform Cloud - CLI-Driven Worflow
  • Terraform Cloud - Share modules in private module registry
  • Migrate State to Terraform Cloud
  • Basic Sentinel Policies
  • Cost Control Sentinel Policies
  • CIS Sentinel Policies
  • State Import

Terraform Graph

  • Online Graphviz viewers
  • Offline Graphviz installer

Terraform Expressions

  • Dynamic Expressions
  • Dynamic Blocks

terraform-deep-dive's People

Contributors

devopsyuva 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.