Your code worked yesterday. Today a new provider version broke it.

You'll learn to
pin providers with source + version constraints (=, >=, ~>) and Terraform with required_version
Recap
- 1required_providers: source + version constraint
- 2~> lets only the last number grow: ~> 2.4 = below 3.0, ~> 2.4.0 = below 2.5
- 3required_version pins Terraform itself
Check yourself
version = "~> 2.4" allows which versions?
4.2
Stamp this lesson
Watched it and passed the check? Mark it in your logbook.
