Open
Description
Hello, I was curious if you had ideas on patterns for how this module might be used or extended to support partitions other than aws
? In particular, aws-us-gov
, but there is also aws-cn
, aws-iso
, and aws-iso-b
.
Right now, the module has providers aliased with names specific to each region... I suppose we could effectively ignore that? For example, in our root module map a us-gov-west-1
provider to the aliased us-west-1
provider, us-gov-east-1
to us-east-1
, and use var.target_regions
to scope things to just those two regions...
Or would it make more sense to just add aliased providers for each region in other partitions to this module? Or to somehow create another module or layer of abstraction for each partition?