AWS CLI cheatsheet
Version baseline: AWS CLI v2, using the latest stable v2 patch available for the host platform (2.36.x at this review). Reject AWS CLI v1-only behavior and inspect aws --version plus the live v2 command help before composing commands.
Use references/cheatsheet.md as the first lookup. Answer the specific question, not the entire reference. Give the smallest useful command, explain the important flag, and state whether it only reads state or changes it.
Answering questions
- Identify the service, resource, profile, region, and whether the request is read-only or mutating.
- Prefer an explicit
--profile PROFILE --region REGIONwhen the target is known; do not invent either value. - Use
--output json,--query, and--no-cli-pagerwhen they improve reliable inspection. - For writes or deletes, show the exact scope, blast radius, and a dry-run or preview where available before suggesting execution.
- If the user supplies an error rather than a lookup question, hand off to
11ai-operator-aws-cli-v2-troubleshootingand preserve the exact error code and request ID.
Response shape
Command: <smallest useful command>
What it does: <plain-language explanation>
State impact: read-only | local credential state | AWS mutation
Watch for: <one prerequisite or danger>
For service-specific questions, use the relevant operation skill when the answer needs a workflow rather than one command.