2016-10-20 12:29:26 +02:00
|
|
|
---
|
|
|
|
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
|
|
|
|
|
2016-11-07 17:00:58 +01:00
|
|
|
Use this data source to access the configuration of the Azure Resource Manager
|
|
|
|
provider.
|
2016-10-20 12:29:26 +02:00
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
|
2017-04-17 12:17:54 +02:00
|
|
|
```hcl
|
2017-02-18 23:48:50 +01:00
|
|
|
data "azurerm_client_config" "current" {}
|
2016-10-20 12:29:26 +02:00
|
|
|
|
|
|
|
output "account_id" {
|
|
|
|
value = "${data.azurerm_client_config.current.account_id}"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Argument Reference
|
|
|
|
|
|
|
|
There are no arguments available for this data source.
|
|
|
|
|
|
|
|
## Attributes Reference
|
|
|
|
|
2017-02-18 23:48:50 +01:00
|
|
|
* `client_id` is set to the Azure Client ID.
|
2016-11-07 17:00:58 +01:00
|
|
|
* `tenant_id` is set to the Azure Tenant ID.
|
2017-02-18 23:48:50 +01:00
|
|
|
* `subscription_id` is set to the Azure Subscription ID.
|