Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.02 KB

File metadata and controls

43 lines (31 loc) · 1.02 KB
page_title datafy_account Data Source - datafy
subcategory
description Retrieves information about an existing Datafy account.

datafy_account (Data Source)

Use this data source to retrieve information about an existing Datafy account. This is useful when you need to reference an account that was created outside of Terraform or in a different Terraform configuration.

Example Usage

data "datafy_account" "example" {
  id = "79c406c5-7b64-43f2-ba76-9b01e74e3d90"
}

Use with Other Resources

data "datafy_account" "existing" {
  id = "79c406c5-7b64-43f2-ba76-9b01e74e3d90"
}

resource "datafy_role_arn" "example" {
  account_id = data.datafy_account.existing.id
  arn        = "arn:aws:iam::123456789012:role/DatafyRole"
}

Schema

Required

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

Read-Only

  • name (String) The name of the account.
  • parent_account_id (String) The unique identifier of the parent account