Sometimes, there isn’t Terraform GCP support for a particular feature – e.g. use asset manager  to retrieve all resources,  e.g. upload of a file to a Kubernetes pod) that lacks Terraform support.

terraform-google-gcloud

This module allows you to use gcloud, gsutil, any gcloud component in Terraform.

This module does not create any resources on GCP itself, rather exposes the GCP SDK to you for usage in null resources & external data resources.

What about accomplishing the same thing on azure?

provider "azurerm" {   features {  } } 
resource "azurerm_resource_group" "rg" 
{   name     = "TFRDemo"   
    location = ""   
    provisioner "local-exec" 
     {     
       command = "az account show --output table" 
     } 
}