Most cloud-agnostic microservices are portable right up to the first line that talks to the cloud.
Ask a team whether their services are cloud-agnostic and the answer is usually yes. They run in containers, they deploy to Kubernetes, the business logic is plain Java, and the infrastructure is in Terraform. Then ask what it would take to run one of those services on Azure instead of AWS, and the answer becomes a project plan.
Over the last few years more teams have had to answer that question for real. Some ship a product into each customer's own cloud. Some are regulated, and rules such as the EU's DORA, the UK PRA's SS2/21 and APRA's CPS 230 in Australia expect a realistic plan for leaving a cloud provider. Some have data that has to stay in a country where their main cloud isn't the right fit. And some just want one service to use the best of two clouds at once.
The hard part isn't Kubernetes or Terraform.…