terraform/website/source/docs/providers/azurerm/d/client_config.html.markdown

752 B

layout page_title sidebar_current description
azurerm Azure Resource Manager: azurerm_client_config docs-azurerm-datasource-client-config Get information about the configuration of the azurerm provider.

azurerm_client_config

Use this data source to access the configuration of the Azure Resource Manager provider.

Example Usage

data "azurerm_client_config" "current" {}

output "account_id" {
  value = "${data.azurerm_client_config.current.account_id}"
}

Argument Reference

There are no arguments available for this data source.

Attributes Reference

  • client_id is set to the Azure Client ID.
  • tenant_id is set to the Azure Tenant ID.
  • subscription_id is set to the Azure Subscription ID.