turbot/aws_thrifty

Control: Are there any lambda functions without graviton processor?

Description

With graviton processor (arm64 - 64-bit ARM architecture), you can save money in two ways. First, your functions run more efficiently due to the Graviton architecture. Second, you pay less for the time that they run. In fact, Lambda functions powered by Graviton are designed to deliver up to 19 percent better performance at 20 percent lower cost.

Usage

Run the control in your terminal:

powerpipe control run aws_thrifty.control.lambda_function_with_graviton

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_thrifty.control.lambda_function_with_graviton --share

Steampipe Tables

SQL

select
arn as resource,
case
when architecture = 'arm64' then 'ok'
else 'alarm'
end as status,
case
when architecture = 'arm64' then title || ' is using Graviton processor.'
else title || ' is not using Graviton processor.'
end as reason
, region, account_id
from
aws_lambda_function,
jsonb_array_elements_text(architectures) as architecture;

Tags