scalr_current_account

Data Source: scalr_current_account

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.

Example Usage

data "scalr_current_account" "account" {}

Schema

Read-Only

  • id (String) The identifier of the account.
  • name (String) The name of the account.