Control: SignalR services should use paid SKU
Description
SignalR services should use paid SKU to enable advanced features such as auto-scaling, hybrid connections, and zone redundancy.
Usage
Run the control in your terminal:
powerpipe control run terraform_azure_compliance.control.signalr_services_uses_paid_sku
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_azure_compliance.control.signalr_services_uses_paid_sku --share
SQL
This control uses a named query:
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_linefrom terraform_resourcewhere type = 'azurerm_signalr_service';