This is an example of how to use Terraform AWS registry modules with Terragrunt.
source
has to be full git URL and not Terraform Registry open issue #311- File
main_providers.tf
is named so, because it will be copied to another local directory and merged with module's code. If such file exists in the module already then it will overwrite the one provided by the module.