powerplatform_solutions (Data Source)

Fetches the list of Solutions in an environment. This is the equivalent of the pac solution list command in the Power Platform CLI.

Example Usage

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

provider "powerplatform" {
  use_cli = true
}

data "powerplatform_solutions" "all" {
  environment_id = var.environment_id
}

Schema

Required

  • environment_id (String) Unique environment id (guid)

Optional

Read-Only

Nested Schema for timeouts

Optional:

  • read (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

Nested Schema for solutions

Read-Only:

  • created_time (String) Created time
  • display_name (String) Display name
  • environment_id (String) Unique environment id (guid)
  • id (String) Solution id
  • install_time (String) Created time
  • is_managed (Boolean) Is managed
  • modified_time (String) Created time
  • name (String) Name
  • version (String) Created time