Open mattdot opened 1 month ago
This would be great!!! And terribly useful.
After looking at the limitations of the API I'm considering an alternative syntax
data "powerplatform_environments" "get_by_id" {
filter = {
environment_id = "<guid>"
}
}
data "powerplatform_environments" "get_default" {
filter = {
sku = "Default" # Default | Production | Sandbox | Developer
}
}
data "powerplatform_environments" "get_unprotected" {
filter = {
security_group_id = "00000000-0000-0000-0000-000000000000"
}
}
Enhance the powerplatform_environments data source to accept a filter to return a more targeted list of environments