'Dynamically create AWS S3 buckets in multiple regions

Is there a way to create terraform aws_s3_bucket resources dynamically in different regions? Argument region is no longer supported, creating provider aliases in different regions dynamically is also not supported. Is there a way to do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source