Skill 44 · AWS Well Architected Review
Subchapter 44.1
references/discovery-procedure.mdMarkdown3 KBView on GitHub
Read this file before Steps 2 and 3. Use it to establish the workload’s infrastructure and application architecture before evaluating framework questions.
Analyze all infrastructure-as-code and deployment configurations in the codebase. If the review is description-only (no code or IaC available), skip the file examination in this step and build the infrastructure picture from the user-provided architecture description instead.
When code or IaC is available, you MUST examine:
cdk.json, CDK construct imports, or aws-cdk-lib dependencies)For each infrastructure component, document:
SECURITY: If discovery finds a hardcoded secret, credential, IAM access key, third-party API key, password, or connection string, never reproduce its value in the conversation, diagram, evidence, or report. Cite only the file path and line number, identify the secret type, and redact the value. For an IAM access key, recommend migration to IAM roles with temporary credentials, such as instance profiles, ECS task roles, Lambda execution roles, or IAM Identity Center sessions. For third-party API keys, passwords, and connection strings, recommend AWS Secrets Manager or AWS Systems Manager Parameter Store using SecureString.
You MUST create an architecture diagram in PlantUML — from the discovered resources, or from the user-provided architecture description when no code/IaC is available — showing:
When application code is available, analyze it for architectural patterns (for a description-only review, derive these from the user-provided description where possible):
Validate discovery internally before evaluation — on a non-interactive review, do NOT stop for the user:
If all three hold, proceed to Step 4 (acquire the live corpus). Pause for the user ONLY when the user explicitly requested interactive checkpoints, or when a required scope decision genuinely cannot be inferred (e.g. an ambiguous review target) — in that case ask the specific question and wait. Otherwise continue without confirmation.