Use this data source to access the configuration of the Azure Stack provider.
data "azurestack_client_config" "current" {}
output "account_id" {
value = "${data.azurestack_client_config.current.service_principal_application_id}"
}
There are no arguments available for this data source.
client_id
is set to the Azure Client ID (Application Object ID).tenant_id
is set to the Azure Tenant ID.subscription_id
is set to the Azure Subscription ID.service_principal_application_id
is the Service Principal Application ID.service_principal_object_id
is the Service Principal Object ID.