Terraform

What should be done every time you modify the source parameter of a module?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

Run terraform init -upgrade (or terraform get -update on older versions) so Terraform downloads the new version of the module and updates the .terraform/modules directory.