I have seen many examples on how to use Terraform to launch AWS resources. I have also seen many claims that Terraform is cloud agnostic.
What I have not seen is an
You cannot do that.
Terraform can be used to create resources in multiple cloud providers in a single terraform apply command.
But you will need separate resources config for different cloud providers.
For example you can create a terraform config file and declare aws_instance and azurerm_virtual_machine resources to create resources in both aws and azure.