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
timeouts
(Attributes) (see below for nested schema)
Read-Only
id
(String) Id of the read operationsolutions
(Attributes List) List of Solutions (see below for nested schema)
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 timedisplay_name
(String) Display nameenvironment_id
(String) Unique environment id (guid)id
(String) Solution idinstall_time
(String) Created timeis_managed
(Boolean) Is managedmodified_time
(String) Created timename
(String) Nameversion
(String) Created time