title | categorySlug | slug | parentDocSlug | hidden | order |
---|---|---|---|---|---|
scalr_current_account |
scalr-terraform-provider |
provider_datasource_scalr_current_account |
provider_datasources |
false |
3 |
Retrieves the details of current account when using Scalr remote backend.
No arguments are required. The data source returns details of the current account based on the SCALR_ACCOUNT_ID
environment variable that is automatically exported in the Scalr remote backend.
data "scalr_current_account" "account" {}
id
(String) The identifier of the account.name
(String) The name of the account.