Skip to content

pruneops_cloud_accounts (Data Source)

Every cloud account of the organization, including those not managed by Terraform (e.g. to import them).

Example Usage

data "pruneops_cloud_accounts" "all" {}

output "account_ids" {
  value = { for a in data.pruneops_cloud_accounts.all.accounts : a.name => a.id }
}

Schema

Read-Only

Nested Schema for accounts

Read-Only:

  • id (String)
  • is_active (Boolean)
  • name (String)
  • provider_id (String)
  • regions (List of String)