I’m building an application that, for disaster recovery purposes, is active/active in two regions. To do this, my terraform entry point uses two different provider blocks (one with region A and another with region B), and call a reusable module twice passing the appropriate provider. This is almost exactly like the guidance here: https://www.terraform.io/docs/configuration/modules.html#passing-providers-explicitly
I prefer having this setup because it makes it easy to reference things created in other regions. For example, enabling data replication is very easy with this setup. However, I just realized that if one region goes down, the provider connecting to the bad region will hang completely. That means during outages, no terraform applys would be possible, which is a problem!
Is there a way instead for a specific run to ignore a provider completely, so that in the case of a DR situation I could still make changes??