aws-preflight-checks

Validate AWS resource existence, permissions, quotas, and dependencies before CLI actions.

3|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/aws-samples/sample-migration-agentic-cli-assistant --skill aws-preflight-checks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-preflight-checks
Source: https://github.com/aws-samples/sample-migration-agentic-cli-assistant/tree/main/.kiro/skills/ops-preflight
Command: npx skills add https://github.com/aws-samples/sample-migration-agentic-cli-assistant --skill aws-preflight-checks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AWS operations frequently fail due to missing resources, insufficient permissions, or tight quotas. This skill performs preflight validations before executing AWS CLI commands to catch issues early.

Core Features & Use Cases

  • Validate resource existence (S3 buckets, EC2 instances, RDS instances, Lambda functions) prior to actions.
  • Verify IAM permissions and simulate access to ensure the caller can perform the intended operation.
  • Check service quotas to prevent over-allocations and deployment failures.
  • Confirm deployment dependencies (subnets, security groups, KMS keys) are in place for smooth operations.
  • Use case: You plan to deploy a new EC2 fleet; run preflight checks to ensure the target resources exist, permissions are adequate, quotas will not be breached, and dependencies are configured.

Quick Start

Run the preflight check before any AWS CLI action to verify resource existence, permissions, quotas, and dependencies are satisfied.

Frequently Asked Questions about aws-preflight-checks

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

FAQPage Schema
How do I prevent AWS CLI deployment failures caused by missing permissions or exceeded quotas?

Run preflight checks before executing AWS CLI commands to verify IAM permissions, simulate access, check service quotas, and confirm dependencies. This validation process prevents deployment failures by catching resource and permission issues early.

What is the best way to verify S3 bucket and EC2 instance existence before running AWS operations?

Perform preflight validations to check resource existence for S3 buckets, EC2 instances, RDS instances, and Lambda functions. This confirms target resources are available before executing AWS CLI actions.

Can I check AWS service quotas before deploying an EC2 fleet to avoid over-allocation?

Yes, preflight checks verify service quotas to prevent over-allocations and deployment failures. Checking quotas before deploying an EC2 fleet ensures you stay within AWS service limits.

How do I validate deployment dependencies like subnets and security groups for AWS workflows?

Use preflight dependency validation to confirm subnets, security groups, and KMS keys are in place. This ensures deployment dependencies are configured and ready for smooth AWS operations.

Does preflight validation work across multiple AWS services like RDS, Lambda, and DynamoDB?

Yes, preflight checks apply to common services including S3, EC2, RDS, Lambda, IAM, ECS, and DynamoDB. The validation process verifies identity, target existence, permissions, quotas, and dependencies across these AWS services.

Why do my AWS CLI commands fail due to insufficient IAM permissions during deployment?

AWS CLI commands fail when IAM permissions are inadequate for the intended operation. Preflight checks simulate access and verify identity beforehand to ensure the caller has sufficient permissions to perform the action.