Which solution meets these requirements?
Use AWS CloudTrail to generate a list of resources with the application tag.
Use the AWS CLI to query each service across all Regions to report the tagged components.
Run a query in Amazon CloudWatch Logs Insights to report on the components with the application tag.
Run a query with the AWS Resource Groups Tag Editor to report on the resources globally with the application tag.
Explanations:
AWS CloudTrail logs API calls and actions, but it does not directly provide a list of resources tagged with a specific key. It is not designed for resource tagging reporting.
While the AWS CLI can be used to query tagged resources, it requires running commands for each service across multiple Regions, making it time-consuming and inefficient compared to other solutions.
CloudWatch Logs Insights allows querying log data, but it does not have direct integration with resource tagging information. It is not suitable for reporting on resources based on tags.
The AWS Resource Groups Tag Editor allows for querying and reporting on resources based on tags across all AWS Regions, providing the quickest and most comprehensive solution.