Terraform is not “cloud agnostic”. Every provisioner is specific to the platform.
You can use Terraform with any cloud. You cannot seamlessly move your AWS configuration to Google Cloud but you can still write Google Cloud configuration with the same paradigm as your AWS configuration.