learn-terraform

Course outlines for learning terraform.

View the Project on GitHub robertdebock/learn-terraform

Best practices

expected time requirements
90 minutes A computer with Terraform installed, terraform knowledge.

Goal: Use the most common best practices

Explanation

Let’s go over a few best practices. Likey you/your company also has best practices. There is time to discuss these.

HashiCorp has a Terraform Style Guide as well, which covers a lot!

Variables

Dependencies

State

General

Modules

Assignment

Bonus assignment

Questions

  1. Do you know what to improve on your code now?
  2. Do you use other practices worth sharing?

Solution

See here.