Interview Prep/Terraform/HCP Terraform, OpenTofu, Scale and Cost

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).

All Terraform questions

More on HCP Terraform, OpenTofu, Scale and Cost