Interview Prep/Terraform/Providers, Resources and Data Sources

What does the `provider` meta-argument on a resource do?

IntermediateConceptProviders, Resources and Data Sources
Answer

It selects which configuration of a provider the resource uses, as in provider = aws.use1. Without it, the default (unaliased) configuration is used. Modules receive their providers via the providers map in the module block.

All Terraform questions Roadmap: Terraform

More on Providers, Resources and Data Sources