Module 2 of 8
Terraform Fundamentals
Learning objectives
| ID | You will be able to… |
|---|---|
| 2a | Declare provider requirements with source addresses and version constraints. Pin the Terraform CLI version with required_version. Explain the dependency lock file and when to run terraform init -upgrade. |
| 2b | Explain how Terraform finds, installs, and talks to providers. Describe provider tiers and source addresses. |
| 2c | Configure several providers, including several configurations of the same provider using alias. Select a configuration per resource, and pass configurations into modules. |
| 2d | Explain what state is for, what it contains, and why it's sensitive. |
In this module
- Lesson 2.1: How Terraform Uses Providers (2b)
- Lesson 2.2: Declaring and Versioning Providers (2a)
- Lesson 2.3: The Dependency Lock File (2a)
- Lesson 2.4: Configuring Multiple Providers (2c)
- Lesson 2.5: How Terraform Uses State (2d)
- Lab 2: Versions, Lock File, and Provider Aliases (30 min)
- Knowledge Check 2 (10 questions)
- Cheat Sheet 2: Terraform Fundamentals