diff --git a/website/docs/language/modules/sources.mdx b/website/docs/language/modules/sources.mdx index c595e51a6c..3d37693de3 100644 --- a/website/docs/language/modules/sources.mdx +++ b/website/docs/language/modules/sources.mdx @@ -356,7 +356,9 @@ In either case, the result is interpreted as another module source address using one of the forms documented elsewhere on this page. If an HTTP/HTTPS URL requires authentication credentials, use a `.netrc` -file in your home directory to configure these. For information on this format, +to configure these. By default, Terraform will search for the `.netrc` file +in your HOME directory. However, that default filesystem location can be overriden +through the `NETRC` environment variable. For information on the `.netrc` format, see [the documentation for using it in `curl`](https://everything.curl.dev/usingcurl/netrc). ### Fetching archives over HTTP