How realistic is "multi-cloud with Terraform"?
AdvancedProductionHCP Terraform, OpenTofu, Scale and Cost
Answer
Terraform gives one workflow and language, not portable resources: an aws_instance and azurerm_linux_virtual_machine are different schemas, so you write per-cloud modules. It is realistic for managing multiple clouds and SaaS from one pipeline, and for abstracting at the module interface (a compute module with AWS and Azure implementations) at significant cost. True portability is better achieved at the application layer (containers, Kubernetes).
More on HCP Terraform, OpenTofu, Scale and Cost
How do you design workspaces and projects in HCP Terraform?IntermediateWhat execution modes does HCP Terraform offer?BeginnerWhat are the three run workflows in HCP Terraform?BeginnerHow are variable sets and sensitive variables used?BeginnerHow is HCP Terraform priced, and how does it affect design?IntermediateHow do you choose between HCP Terraform, Atlantis, Spacelift and plain GitHub Actions?Advanced