aws-terminator-analyze

Analyzes Ansible AWS collection PRs to identify required terminator classes and IAM permissions.

8|7|Updated Feb 14, 2023
One-click install
npx skills add https://github.com/eclipse-slm/slm --skill aws-terminator-analyze-eclipse-slm
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: aws-terminator-analyze
Source: https://github.com/eclipse-slm/slm/tree/main/.agents/skills/aws-terminator-analyze
Command: npx skills add https://github.com/eclipse-slm/slm --skill aws-terminator-analyze-eclipse-slm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When new AWS modules are added to Ansible collections like amazon.aws or community.aws, the aws-terminator repository needs matching terminator classes and IAM permissions to clean up test resources. Manually determining what is missing is slow and error-prone. ## Core Features & Use Cases - PR Analysis: Fetches a pull request via the GitHub CLI, identifies new modules, AWS service clients, and resource creation patterns. - Coverage Check: Searches the local aws-terminator clone for existing terminator classes and IAM policy entries, flagging gaps. - Structured Report: Generates a markdown report with coverage tables, recommended terminator implementations, IAM permission YAML, and next steps. - Use Case: A maintainer reviewing community.aws PR #2353 runs the analysis to discover that a new MediaLive module needs a terminator class in application_services.py plus four new IAM permissions before CI will pass. ## Quick Start Ask the assistant to analyze PR 2353 in ansible-collections/community.aws for missing aws-terminator classes and IAM permissions.

Frequently Asked Questions about aws-terminator-analyze

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if an Ansible AWS PR needs new terminator classes?▼

Run the analysis with the PR number and repository, for example --pr 2353 --repo ansible-collections/community.aws. The skill fetches the PR, identifies new modules and resource creation calls, then greps the local aws-terminator clone for existing coverage.

What repositories does aws-terminator analysis support?▼

It supports ansible-collections/amazon.aws, ansible-collections/community.aws, ansible-collections/amazon.ai, and ansible-collections/amazon.cloud. Other repositories are rejected with an error since they are not AWS collection repos.

How are IAM permissions determined for new AWS modules?▼

Permissions are derived from integration test tasks (create, modify, delete operations) and terminator needs (describe, list, delete). Existing permissions are checked by grepping the aws/policy YAML files, and missing ones are recommended for the matching policy file.

When is a terminator class not needed for a new resource?▼

No terminator is needed when the resource is auto-deleted with its parent (like Cognito clients with user pools), when it is ephemeral and auto-expires, or when a terminator class already exists in the aws-terminator repository.

Which terminator base class should a new resource use?▼

Use the Terminator base class when the resource API response includes a timestamp field such as CreatedTime or LaunchTime. Use DbTerminator when the resource has no creation timestamp field available.