Introduction
Sometimes you need to manage resources in different cloud accounts or regions. Multiple provider configurations let you connect to more than one place at the same time using Terraform.
When you want to create resources in two different AWS regions in the same Terraform project.
When you manage infrastructure for two separate AWS accounts from one Terraform setup.
When you need to test changes in a staging environment while keeping production separate.
When you want to organize resources by provider settings without mixing them.
When you need to use different credentials or settings for the same cloud provider.