turbot/aws_tags

Control: CloudFront distributions should be tagged

Description

Check if CloudFront distributions have at least 1 tag.

Usage

steampipe check aws_tags.control.cloudfront_distribution_untagged

Plugins & Tables

SQL

select
arn as resource,
case
when tags is not null then 'ok'
else 'alarm'
end as status,
case
when tags is not null then title || ' has tags.'
else title || ' has no tags.'
end as reason,
region, account_id
from
aws_cloudfront_distribution