turbot/terraform_azure_compliance

Query: signalr_services_uses_paid_sku

Usage

powerpipe query terraform_azure_compliance.query.signalr_services_uses_paid_sku

Steampipe Tables

SQL

select
address as resource,
case
when (attributes_std -> 'sku' ->> 'name') = 'Free_F1' then 'alarm'
else 'ok'
end status,
split_part(address, '.', 2) || case
when (attributes_std -> 'sku' ->> 'name') = 'Free_F1' then ' is not using paid SKU'
else ' is using paid SKU'
end || '.' reason
, path || ':' || start_line
from
terraform_resource
where
type = 'azurerm_signalr_service';

Controls

The query is being used by the following controls: