Monitor services in azure

Our task is -

  • Write a terraform script in to create a storage account, storage container, storage blob to monitor and send log reports everyday.
  • Define the variables resourcegroup and location in the file, and call those variables in the file using string interpolation syntax

With help of vi command we created file as

variable "resourcegroup"
default = "user-ktywkgjskfgc"
variable "location"
default = ["East US"]

In normal way we can create storage account as -

az storage account create --resource-group $user-ofbujdqwzbib --name $storageccountName --location $location

how to call those variables in the and above command in tf file we are not sure. Please suggest us expertise advice.

any expertise advice