Advanced Terraform

Advanced Terraform

2h 26mAdvanced2023-01-18

Authors

David Swersky

David Swersky

DevOps and Enterprise Architect with 20+ years of IT experience

Course details

Terraform simplifies and accelerates the configuration and deployment of infrastructure, including cloud-based environments. In this project-based course, David Swersky highlights a series of advanced Terraform use cases. David goes over the steps to create a new Terraform configuration, then explores intermediate concepts like variables, looping, expression and functions, modules, and more. He explains advanced concepts, such as custom modules, defining a remote state backend, and deploying configurations across multiple environments. The course is capped with an example model for a complete Continuous Integration/Continuous Delivery pipeline for deploying Terraform configurations.

Skills covered

TerraformHashiCorpData CentersAdvancedDatabase Management

Concepts

Introduction

  • Introduction to Advanced Terraform
  • What you should know
  • Terraform review and terminology
  • Exercise files

Creating a New Terraform Configuration

  • Practical Terraform
  • Google Cloud and Terraform - Tools and setup
  • Designing a cloud infrastructure in Terraform
  • Terraform configuration overview
  • Deploying the Terraform configuration
  • Review deployed resources
  • Destroying resources

Intermediate Terraform Concepts

  • Input variables
  • Using input variables
  • Output variables
  • Sensitive data
  • Looping with count
  • Looping with for each
  • Expressions and functions
  • Introduction to modules
  • Using Terraform modules

Advanced Terraform Concepts

  • Analyzing a module
  • Custom modules
  • Terraform remote state overview
  • Deploying backend resources
  • Deploying a remote state configuration

Terraform Automation

  • Multiple environment configurations
  • Terraform CI CD options
  • Terraform Cloud setup
  • Deploying with Terraform Cloud
  • GitOps CI CD setup
  • GitOps CI CD with Terraform Cloud
  • Deprecating resources

Conclusion

  • Next steps
80,000 Toman