turbot/terraform_azure_compliance

Query: appservice_plan_minimum_sku

Usage

powerpipe query terraform_azure_compliance.query.appservice_plan_minimum_sku

Steampipe Tables

SQL

select
address as resource,
case
when (attributes_std ->>'sku_name') in ('F1', 'D1', 'B1', 'B2', 'B3') then 'alarm'
else 'ok'
end status,
name || ' is of ' || (attributes_std ->>'sku_name') || ' SKU family.' as reason
, path || ':' || start_line
from
terraform_resource
where
type = 'azurerm_service_plan';

Controls

The query is being used by the following controls: