When is it actually desirable to imperatively program your cloud provider rather than using something like Terraform? Obviously there are services meant to be consumed from application code, but the infrastructure provisioning stuff?
One place I've done is when your infra needs to dynamically scale up/down based on load.