turbot/aws_tags

Control: ECS container instances should be tagged

Description

Check if ECS container instances have at least 1 tag.

Usage

steampipe check aws_tags.control.ecs_container_instance_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_ecs_container_instance