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

31 lines
707 B
Markdown
Raw Normal View History

---
layout: "azurerm"
page_title: "Azure Resource Manager: azurerm_client_config"
sidebar_current: "docs-azurerm-datasource-client-config"
description: |-
Get information about the configuration of the azurerm provider.
---
# azurerm\_client\_config
Use this data source to access the configuration
## 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.