turbot/terraform_azure_compliance

Query: machine_learning_compute_cluster_minimum_node_zero

Usage

powerpipe query terraform_azure_compliance.query.machine_learning_compute_cluster_minimum_node_zero

Steampipe Tables

SQL

select
address as resource,
case
when (attributes_std -> 'scale_settings' ->> 'min_node_count')::int = 0 then 'ok'
else 'alarm'
end status,
name || ' minimum node count set to ' || (attributes_std -> 'scale_settings' ->> 'min_node_count') || '.' reason
, path || ':' || start_line
from
terraform_resource
where
type = 'azurerm_machine_learning_compute_cluster';

Controls

The query is being used by the following controls: