teardown-rosa-aws

Tear down a ROSA HCP cluster on AWS and remove leftover infrastructure.

8|4|Updated Jun 30, 2026
One-click install
npx skills add https://github.com/rh-ai-quickstart/private-coding-assistant --skill teardown-rosa-aws
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: teardown-rosa-aws
Source: https://github.com/rh-ai-quickstart/private-coding-assistant/tree/main/.cursor/skills/teardown-rosa-aws
Command: npx skills add https://github.com/rh-ai-quickstart/private-coding-assistant --skill teardown-rosa-aws

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps you fully tear down a ROSA HCP cluster on AWS, including stubborn leftover infrastructure that can block normal destruction. It is designed to prevent partial cleanup, dangling AWS resources, and repeated manual remediation.

Core Features & Use Cases

  • Cluster Destruction: Runs Terraform destroy against the ROSA deployment state and waits for completion.
  • Stuck Resource Cleanup: Removes leftover load balancers, VPC endpoints, ENIs, security groups, target groups, and EC2 instances when normal destroy gets stuck.
  • Verification Workflow: Checks for orphaned VPC, IAM, OIDC, NAT, EIP, IGW, subnet, and load balancer resources to confirm complete removal.
  • Use Case: An engineer needs to decommission a test ROSA environment in AWS and make sure no billable infrastructure remains behind.

Quick Start

Ask the assistant to tear down the ROSA AWS cluster, clean up any leftover VPC and IAM resources, and verify that all teardown checks pass.

Frequently Asked Questions about teardown-rosa-aws

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

FAQPage Schema
How do I clean up leftover AWS resources when a ROSA cluster destroy gets stuck?

To clean up stuck ROSA cluster resources, you can run targeted scripts that remove leftover load balancers, VPC endpoints, ENIs, and security groups blocking Terraform destroy. This ensures the AWS teardown process completes without manual remediation.

What is the best way to fully destroy a ROSA HCP cluster on AWS and verify no resources remain?

The best way to fully destroy a ROSA HCP cluster is to run Terraform destroy against the deployment state, clean up any stuck infrastructure, and then verify orphaned VPC, IAM, OIDC, and NAT resources are completely removed.

Do I need Terraform state to tear down a ROSA environment on AWS?

Yes, you need Terraform state to execute the ROSA cluster destruction process. The teardown workflow applies Terraform destroy against the existing deployment state and requires AWS CLI access to manage and remove the underlying AWS infrastructure.

Why does my ROSA Terraform destroy leave dangling VPC and IAM resources in AWS?

Your ROSA Terraform destroy leaves dangling VPC and IAM resources because stubborn leftover infrastructure like load balancers and VPC endpoints can block normal deletion. Running ROSA-specific cleanup scripts removes these dependencies to allow full deletion.

How do I verify an AWS VPC is completely removed after tearing down a ROSA cluster?

To verify an AWS VPC is completely removed after a ROSA teardown, run a post-destroy verification workflow that checks for orphaned VPC, EIP, IGW, subnet, and load balancer resources to confirm no billable infrastructure remains behind.