Where does `hashicorp/aws` come from in `required_providers`?
BeginnerConceptProviders, Resources and Data Sources
Answer
The source address format is [hostname/]namespace/type. If you omit the hostname Terraform uses registry.terraform.io, so hashicorp/aws means registry.terraform.io/hashicorp/aws. Third-party providers use their own namespace, for example integrations/github or cloudflare/cloudflare. In OpenTofu the default host is registry.opentofu.org.
More on Providers, Resources and Data Sources
What is a resource block and how is it addressed?BeginnerWhat is the difference between a resource and a data source?BeginnerHow do you configure a provider such as AWS?BeginnerHow do you use the same provider with multiple regions or accounts?IntermediateIn what order does the AWS provider look for credentials?IntermediateWhat does `default_tags` in the AWS provider do and what are its pitfalls?Intermediate