powerplatform_tenant (Data Source)

Fetches the client configuration for the given tenant.

Example Usage

terraform {
  required_providers {
    powerplatform = {
      source = "microsoft/power-platform"
    }
  }
}

provider "powerplatform" {
  use_cli = true
}

data "powerplatform_tenant" "current_tenant" {}

output "current_config" {
  value = data.powerplatform_tenant.current_tenant
}

Schema

Read-Only

  • aad_country_geo (String) AAD country geo.
  • aad_data_boundary (String) AAD data boundary.
  • data_storage_geo (String) Data storage geo.
  • default_environment_geo (String) Default environment geo.
  • fed_ramp_high_certification_required (Boolean) FedRAMP high certification required.
  • location (String) Location of the tenant.
  • state (String) State of the tenant.
  • tenant_id (String) Tenant ID of the application.