Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 737 Bytes

current_account.md

File metadata and controls

27 lines (20 loc) · 737 Bytes
title categorySlug slug parentDocSlug hidden order
scalr_current_account
scalr-terraform-provider
provider_datasource_scalr_current_account
provider_datasources
false
3

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.