Control: EC2 instances should be tagged
Description
Check if EC2 instances have at least 1 tag.
Usage
steampipe check aws_tags.control.ec2_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_ec2_instance