What does `terraform init` do?
BeginnerConceptTerraform and Ansible
Answer
It configures the backend, downloads providers (recording them in .terraform.lock.hcl) and downloads modules. Run it again after changing the backend, providers or module sources.