* terraform-providers: handle go modules
More and more terraform providers are switching from vendored
dependencies to Go modules.
Let's say that you update the "aws" provider and it fails. You can run
it again with:
./update-provider aws --vendor
Any package that has the "vendorSha256" key will be considered as a go
module package.
The script now also supports adding new providers by using the
<owner>/<repo> format. Eg:
./update-provider hetznercloud/hcloud --vendor
* address comment
Fixes https://github.com/NixOS/nixpkgs/pull/104667#discussion_r529788569
* support the null use-case
* escape provider name as well
* fix typo