[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ABJ7A483NEFWAGFKVMXTJF":3,"skill-same:01M7ABJ7A483NEFWAGFKVMXTJF":144},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M7ABJ7A483NEFWAGFKVMXTJF","route53-resolver-deployer",null,"Provisions Route 53 Resolver endpoints, forwarding rules, DNS Firewall, and query logging with secure networking defaults. Supports inbound endpoints (on-prem DNS to Route 53), outbound endpoints (VPC to on-prem DNS), forwarding rules with VPC associations, Resolver DNS Firewall (managed\u002Fcustom domain lists, block\u002Falert actions), and query logging to CloudWatch, S3, or Kinesis. Runs pre-checks (subnet AZ diversity, security group port 53 rules, IAM permissions, query log destination policies), emits create-resolver-endpoint, create-resolver -rule, create-firewall-rule, put-resolver-query-log-config CLIs behind a CONFIRM gate, verifies via get-resolver-endpoint. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when provisioning Resolver endpoints, forwarding rules, DNS Firewall policies, or query logging.","jhkchan\u002Faws-agent-skills","jhkchan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1083902?v=4","01M7A2SVQYP9GQTPTDXP5JKYQ4","Jacky Chan","01M7A2SVS117YWCTZABB75HZR1",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: route53-resolver-deployer\ndescription: Provisions Route 53 Resolver endpoints, forwarding rules, DNS Firewall, and query logging with secure networking defaults. Supports inbound endpoints (on-prem DNS to Route 53), outbound endpoints (VPC to on-prem DNS), forwarding rules with VPC associations, Resolver DNS Firewall (managed\u002Fcustom domain lists, block\u002Falert actions), and query logging to CloudWatch, S3, or Kinesis. Runs pre-checks (subnet AZ diversity, security group port 53 rules, IAM permissions, query log destination policies), emits create-resolver-endpoint, create-resolver -rule, create-firewall-rule, put-resolver-query-log-config CLIs behind a CONFIRM gate, verifies via get-resolver-endpoint. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when provisioning Resolver endpoints, forwarding rules, DNS Firewall policies, or query logging.\nlicense: Apache-2.0\ncompatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan classification. Live-account operations use aws route53resolver create-resolver-endpoint, create-resolver-rule, associate-resolver-rule, create-firewall-domain-list, create-firewall-rule, create-firewall-rule-group-association, put-resolver-query-log-config, associate-resolver-query-log-config, get-resolver-endpoint, list-resolver-rule-associations (AWS CLI v2, SSO or...\nmetadata:\n  domain: aws-cloudops\n  complexity: high\n  requires_llm: 'true'\n  phase: '1'\n  supports_pipeline: 'true'\n  entry_point: 'false'\n  family: Networking\n  task_type: deploy\n  skill_class: capability\n  lifecycle_status: active\n  verdict_shape: READY_TO_DEPLOY | PREREQUISITES_MISSING\n  version: 0.1.0\n  author: Jacky Chan — AWS Community Builder\n  tags: route53, resolver, dns, networking, firewall, query-logging, deploy, hybrid-dns, vpc\n  dependencies: aws-orchestrator\n  keywords: Route 53 Resolver, Resolver endpoint, inbound endpoint, outbound endpoint, forwarding rule, conditional forwarding, DNS Firewall, firewall domain list, firewall rule group, managed domain list, custom domain list, query logging, CloudWatch Logs, S3 logging, Kinesis Firehose, DNS, hybrid DNS, on-prem DNS, VPC DNS, route53resolver, rule association\n  when_to_use: Creating a Route 53 Resolver inbound endpoint (on-prem resolvers forwarding to Route 53), outbound endpoint (VPC forwarding to on-prem DNS), conditional forwarding rules with VPC associations, Resolver DNS Firewall policies (managed or custom domain lists), or Resolver query logging to CloudWatch Logs, S3, or Kinesis Data Firehose.\n  activation_triggers: create Resolver endpoint, provision Resolver inbound endpoint, provision Resolver outbound endpoint, deploy Route 53 Resolver, conditional forwarding rule, forwarding rule association, DNS Firewall, firewall domain list, firewall rule group, managed domain list, custom domain list, block DNS domains, Resolver query logging, DNS query logs CloudWatch, DNS query logs S3, hybrid DNS setup, on-prem DNS forwarding, route53resolver create-resolver-endpoint, route53resolver create-resolver-rule, route53resolver create-firewall-rule\n  invocation_schema: 'Input: either (a) a Resolver deployment intent (create inbound endpoint, outbound endpoint, forwarding rule, DNS Firewall policy, or query log config) with target VPC, subnets, security groups, IP addresses, and forwarding targets; OR (b) an endpoint\u002Frule ID for live-account update or validation. Output: deterministic RESOLVER\u002FVERDICT\u002FPRE_CHECKS\u002F STEPS\u002FPOST_VERIFY block per operation, where VERDICT is one of READY_TO_DEPLOY, PREREQUISITES_MISSING.'\n---\n\n# Route 53 Resolver Deployer\n\n## What this skill does\n\nProvisions Route 53 Resolver endpoints, forwarding rules, DNS Firewall\npolicies, and query logging configurations with secure networking\ndefaults. Enforces the minimum two subnets in distinct Availability Zones\nfor every endpoint, security groups that only expose UDP\u002FTCP 53 to the\nexpected source CIDRs, forwarding rules that target reachable IPs with\nthe correct port, DNS Firewall rule group associations that do not\nconflict on priority, and query log destinations that are writable by the\n`route53resolver` service principal. Runs deterministic pre-checks\nbefore any state-changing CLI, emits the exact\n`create-resolver-endpoint`, `create-resolver-rule`,\n`create-firewall-domain-list`, `create-firewall-rule`, and\n`put-resolver-query-log-config` CLIs behind a CONFIRM gate, and verifies\nthe deployment via `get-resolver-endpoint` and\n`list-resolver-rule-associations`. Every Resolver plan surfaces the\ninbound\u002Foutbound direction, the rule-priority ordering, the firewall\naction matrix, and the query-log destination write-permission gate.\n\n## Quick navigation\n\n| Section | What it covers | When to read it |\n|---|---|---|\n| **Quick reference** | Verdict thresholds + pre-check priority order + endpoint config matrix | Before any operation |\n| **Mindset** | Why defaults matter; Resolver silent-failure modes; overwrite traps | Understanding the deployment model |\n| **Pre-flight** | Endpoint metadata gate — subnets, security groups, target IPs, IAM permissions | Before executing any CLI |\n| **Process** | Per-operation planning: inbound, outbound, forwarding rule, DNS Firewall, query logging | When choosing which operation |\n| **Common patterns** | Production hybrid DNS \u002F conditional forwarding \u002F DNS Firewall \u002F query logging boilerplate | Boilerplate lookup |\n| **STRICT output contract** | Required RESOLVER\u002FVERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block | Formatting the response |\n| **NEVER (top 5)** | Hard rules that prevent common insecure patterns | Review before deploy |\n| **Expert heuristic** | Choosing inbound vs outbound vs both for hybrid DNS | Choosing endpoint strategy |\n\n## Quick reference — verdict thresholds\n\n| Verdict | Trigger condition | Action |\n|---|---|---|\n| `PREREQUISITES_MISSING` | Any pre-check failed (fewer than 2 subnets in distinct AZs, security group missing UDP\u002FTCP 53 ingress, outbound target IP unreachable, forwarding rule domain name malformed, DNS Firewall rule group priority collides with an existing association, query log destination ARN is not writable by route53resolver, IAM permission missing, endpoint name already exists for create) | List failures, do NOT execute |\n| `READY_TO_DEPLOY` | All pre-checks passed; awaiting CONFIRM gate | Emit exact CLI sequence with full endpoint config, wait for operator yes |\n\n**Priority order for pre-checks (apply in this sequence, all must pass for\nREADY_TO_DEPLOY):**\n\n1. **Endpoint name uniqueness** — `list-resolver-endpoints` returns no\n   endpoint with the target name (for create) or matches exactly one\n   (for update).\n2. **Subnet count and AZ diversity** — every Resolver endpoint requires\n   at least 2 IP addresses in 2 distinct Availability Zones. Fewer than\n   2 subnets is a hard block.\n3. **Security group ingress** — the referenced security group allows\n   UDP\u002FTCP 53 inbound from the expected source CIDR (the peered VPC,\n   Direct Connect, or VPN CIDR for inbound endpoints; the VPC CIDR for\n   outbound endpoints).\n4. **Security group egress** — the referenced security group allows\n   UDP\u002FTCP 53 outbound to the on-prem DNS server IPs (outbound endpoints)\n   or to the VPC CIDR (inbound endpoints).\n5. **Forwarding rule domain** — the `DomainName` is a valid DNS suffix\n   (e.g., `corp.example.local.`), trailing dot handled, not a TLD that\n   conflicts with a public domain.\n6. **Forwarding target IPs** — every IP in `TargetIps` is reachable from\n   the outbound endpoint subnets (route table check or caller-provided\n   attestation). Port 53 is the default; non-standard ports are flagged.\n7. **Rule association VPC** — the target VPC exists in the same account\n   and region (or is shared via `share-resolver-rule` cross-account).\n8. **DNS Firewall rule group priority** — the `Priority` integer on a\n   new `firewall-rule-group-association` does not collide with an\n   existing association on the same VPC. Lower priority = evaluated\n   first.\n9. **Firewall domain list content** — custom domain lists use valid\n   domain syntax with wildcards (`*.malware.example.`). Malformed\n   entries are rejected.\n10. **Firewall action consistency** — `BLOCK` actions have a\n    `BlockResponse` (NXDOMAIN, NODATA, or custom IP) and optionally a\n    `BlockOverrideDnsType`. `ALERT` logs but does not block. `ALLOW`\n    overrides a matching BLOCK in a higher-priority group.\n11. **Query log destination ARN** — the CloudWatch Logs log group, S3\n    bucket, or Kinesis Data Firehose exists and the\n    `route53resolver` service principal has write permission\n    (`logs:PutLogEvents`, `s3:PutObject`, or `firehose:PutRecord`).\n12. **Query log config name uniqueness** — `list-resolver-query-log-configs`\n    returns no config with the target name.\n13. **VPC DNS settings** — `enableDnsHostnames` and `enableDnsSupport`\n    are both `true` on the target VPC (checked via `ec2:describe-vpc-attribute`).\n14. **IAM permissions** — the operator principal holds\n    `route53resolver:CreateResolverEndpoint`,\n    `CreateResolverRule`, `AssociateResolverRule`,\n    `CreateFirewallDomainList`, `CreateFirewallRule`,\n    `CreateFirewallRuleGroupAssociation`, or\n    `PutResolverQueryLogConfig` (as applicable to the operation).\n\n**Route 53 Resolver limits (2026):**\n\n- Resolver endpoints per Region: 4 inbound + 4 outbound (soft). 2-100 IPs per endpoint (>= 2 AZs).\n- Resolver rules per account: 1000 (soft). Shareable cross-account via RAM.\n- DNS Firewall rule groups per VPC: 5 (soft). Domain lists per account: 5000. Domains per list: 200,000.\n- Query log configs per account: 2000 (soft). One query log config association per VPC.\n\n## Mindset\n\n**One-line takeaway:** Resolver silently accepts misconfigured security\ngroups and route tables. An outbound endpoint with a security group that\nblocks egress to on-prem port 53 will deploy cleanly — DNS queries from\nthe VPC will time out, and the operator will blame the on-prem DNS\nserver. The skill enforces the networking gate at pre-check time.\n\nDriven by three Resolver realities:\n\n- **Resolver endpoints need a minimum of two subnets in two AZs.** A\n  single-subnet endpoint is rejected at API time, but a two-subnet\n  endpoint where both subnets are in the same AZ silently loses HA.\n\n- **Forwarding rules are evaluated in priority order against the VPC.**\n  If two rules match the same domain suffix, the lower-priority integer\n  wins. A new rule with an overlapping domain silently shadows an\n  existing rule.\n\n- **DNS Firewall rule groups stack per VPC.** Each association has a\n  priority integer; a BLOCK in priority 1 is overridden by an ALLOW in\n  priority 2. Misordered priorities are the #1 cause of \"why is my block\n  not working\" tickets.\n\n## Pre-flight: resolver endpoint metadata gate\n\nRun before classification. Misclassifying these produces wrong plans.\n\n**Pagination:** `list-resolver-endpoints` returns at most 100 per page\n(via `--max-results`). Use `--next-token` to drain. `list-resolver-rules`\nis paginated the same way.\n\n**Live-account pre-flight (skip if offline plan audit):**\n> **Moved verbatim** → [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § \"Pre-flight — live-account command listing\".\n> Load when: running the live-account pre-flight (endpoint name, subnets, security groups, VPC attributes, rules, firewall associations, log destinations)\n\n**Malformed input:** if the Resolver spec is missing required fields\n(`EndpointName`, `Direction`, `Subnets` (>= 2), or `SecurityGroupIds`),\nemit `VERDICT: PREREQUISITES_MISSING` with `REASON: Resolver spec\nmissing required field — EndpointName, Direction, >= 2 SubnetIds in\ndistinct AZs, or SecurityGroupIds. Cannot plan.` and `REMEDIATION:\nProvide the full endpoint configuration per\nhttps:\u002F\u002Fdocs.aws.amazon.com\u002FRoute53\u002Flatest\u002FDeveloperGuide\u002Fresolver.html.`\n\n| Attribute | Effect on operation |\n|---|---|\n| Fewer than 2 subnets | API rejects. PREREQUISITES_MISSING. |\n| Both subnets in same AZ | Deploys but loses HA. Flag in NOTES; allow if user-acknowledged. |\n| Security group missing UDP 53 ingress | DNS queries silently time out. PREREQUISITES_MISSING. |\n| Outbound target IP unreachable from subnet route table | Forwarding rule deploys but queries fail. PREREQUISITES_MISSING. |\n| Forwarding rule domain overlaps existing rule with lower priority | New rule shadows existing. Flag in NOTES. |\n| DNS Firewall rule group priority collides on VPC | API rejects. PREREQUISITES_MISSING. |\n| Query log destination not writable by route53resolver | Logs silently dropped. PREREQUISITES_MISSING. |\n| VPC enableDnsSupport false | Resolver endpoints cannot serve. PREREQUISITES_MISSING. |\n\n## Process — operation planning (apply in order)\n\n### Step 0: Expert knowledge — non-obvious Resolver behaviors\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 0: Expert knowledge — non-obvious Resolver behaviors\".\n> Load when: planning any operation — endpoint IP semantics, suffix matching, SYSTEM rules, RAM sharing, firewall priority, wildcard domains, query-log association\n\n### Step 1: Pre-check gate — PREREQUISITES_MISSING if any check fails\n\nRun ALL of the following pre-checks. If ANY fails, the verdict is\nPREREQUISITES_MISSING with the failed checks enumerated in PRE_CHECKS.\nDo NOT execute.\n\n**For ALL operations:**\n1. Endpoint\u002Frule\u002Fconfig name is set, \u003C= 64 chars, matches `[a-zA-Z0-9-]`.\n2. Target VPC exists, `enableDnsSupport: true`, `enableDnsHostnames: true`.\n3. IAM principal holds the relevant `route53resolver:` permission.\n\n**For create-resolver-endpoint (inbound or outbound):**\n4. `Direction` is `INBOUND` or `OUTBOUND`.\n5. `IpAddresses` contains at least 2 entries in 2 distinct AZs.\n6. Each subnet in `IpAddresses` belongs to the target VPC.\n7. `SecurityGroupIds` references exactly one or more existing security\n   groups in the VPC.\n8. For INBOUND: the security group ingress allows UDP\u002FTCP 53 from the\n   on-prem\u002Fpeered source CIDR.\n9. For OUTBOUND: the security group egress allows UDP\u002FTCP 53 to the\n   on-prem DNS server IPs.\n10. Endpoint name does not collide with an existing endpoint\n    (`list-resolver-endpoints`).\n\n**For create-resolver-rule (forwarding):**\n11. `DomainName` is a valid DNS suffix with trailing dot.\n12. `TargetIps` references at least one IP (port defaults to 53; non-53\n    flagged in NOTES).\n13. The domain does not overlap an existing forwarding rule with lower\n    priority (flag, allow with acknowledgement).\n14. `RuleType` is `FORWARD`. (`SYSTEM` rules are managed by AWS.)\n\n**For associate-resolver-rule:**\n15. The rule exists and is in a `COMPLETE` state.\n16. The target VPC exists and is not already associated with a\n    conflicting rule on the same domain.\n\n**For create-firewall-domain-list:**\n17. Domain list name does not collide.\n18. (For `import-firewall-domains`): each domain is valid syntax,\n    wildcard prefix `*.` supported, trailing dot optional.\n\n**For create-firewall-rule (in a rule group):**\n19. The referenced `FirewallDomainListId` exists.\n20. `Action` is one of `ALLOW`, `BLOCK`, `ALERT`.\n21. For `BLOCK`: `BlockResponse` is set (`NXDOMAIN`, `NODATA`,\n    `OVERRIDE`); if `OVERRIDE`, the override DNS type, value, and TTL\n    are set.\n22. `Priority` within the rule group does not collide with an existing\n    rule.\n\n**For create-firewall-rule-group-association:**\n23. The rule group exists.\n24. `Priority` does not collide with an existing association on the\n    target VPC (lower priority = evaluated first).\n25. `MutationProtection` is `ENABLED` for production associations.\n\n**For put-resolver-query-log-config:**\n26. `DestinationArn` points to an existing CloudWatch Logs log group,\n    S3 bucket, or Kinesis Firehose.\n27. The destination resource policy allows `route53resolver.amazonaws.com`\n    to write (`logs:PutLogEvents`, `s3:PutObject`, `firehose:PutRecord`).\n28. Config name does not collide.\n\n**For associate-resolver-query-log-config:**\n29. The target VPC is not already associated with another query log\n    config.\n\n### Step 2: READY_TO_DEPLOY — emit deployment plan\n\nIf all pre-checks pass, emit `VERDICT: READY_TO_DEPLOY` with the exact\nCLI sequence and the CONFIRM gate. The plan includes:\n\n- The exact `aws route53resolver create-resolver-endpoint` CLI with the\n  full config (Direction, IpAddresses, SecurityGroupIds, Name, Tags).\n- The follow-up `create-resolver-rule` CLI for each forwarding rule.\n- The follow-up `associate-resolver-rule` CLI for each VPC association.\n- The follow-up `create-firewall-domain-list` and `import-firewall-domains`\n  CLIs for each custom domain list.\n- The follow-up `create-firewall-rule` CLI for each rule in a group.\n- The follow-up `create-firewall-rule-group-association` CLI for each VPC.\n- The follow-up `put-resolver-query-log-config` and\n  `associate-resolver-query-log-config` CLIs for query logging.\n- The CONFIRM gate prompt.\n\n### Step 3: Execute behind CONFIRM gate\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing CLI\n  (`create-resolver-endpoint`, `create-resolver-rule`,\n  `associate-resolver-rule`, `create-firewall-rule-group-association`,\n  `put-resolver-query-log-config`), emit:\n  `CONFIRM: About to \u003Coperation> \u003Cresource> in account \u003Caccount>\n  region \u003Cregion>. This will \u003Cconsequence>. Proceed? (yes\u002Fno)`. Do NOT\n  execute until the operator confirms.\n- Snapshot the current endpoint\u002Frule config before modification:\n  `aws route53resolver get-resolver-endpoint --resolver-endpoint-id \u003Cid>\n  --output json > \u002Ftmp\u002F\u003Cendpoint-name>-backup-$(date +%s).json`.\n- Execute the CLI with the full config.\n\n### Step 4: Post-verification\n\nAfter the operation finishes, run post-verification:\n\n1. `get-resolver-endpoint --resolver-endpoint-id \u003Cid>` returns\n   `Status: OPERATIONAL`.\n2. For inbound endpoints: the IP addresses are reachable from on-prem\n   (confirm with on-prem DNS admin or `dig @\u003Cip> example.com`).\n3. For outbound endpoints: the IP addresses are the source IPs the\n   on-prem DNS server sees.\n4. `list-resolver-rule-associations --resolver-rule-id \u003Cid>` returns\n   the expected VPC associations with `Status: COMPLETE`.\n5. For DNS Firewall: `list-firewall-rule-group-associations` returns\n   the association with the expected priority.\n6. For query logging: `list-resolver-query-log-config-associations`\n   returns the VPC with `Status: COMPLETE`; verify log entries appear\n   in the destination within 5 minutes.\n\n## Common resolver patterns (boilerplate)\n\n> **Moved verbatim** → [references\u002Fendpoints-and-forwarding-rules.md](references\u002Fendpoints-and-forwarding-rules.md) § \"Common patterns — inbound \u002F outbound \u002F forwarding boilerplate\".\n> Load when: assembling the create-endpoint \u002F create-rule \u002F associate-rule CLI sequence\n\n> **Moved verbatim** → [references\u002Fdns-firewall-and-query-logging.md](references\u002Fdns-firewall-and-query-logging.md) § \"Common patterns — DNS Firewall \u002F query logging boilerplate\".\n> Load when: assembling firewall domain-list\u002Frule\u002Fassociation or query-log-config CLI sequences (CloudWatch resource policy included)\n\n## STRICT output contract\n\n### Required output structure\n\nEvery response MUST begin with this block — no preamble, no conversational\nopening:\n\n```text\nRESOLVER: \u003Cendpoint-name or rule-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nTARGET: \u003Cendpoint-name> (endpoint-id: \u003Cid> for updates)\nPRE_CHECKS:\n  - [PASS] \u003Ccheck description>\n  - [FAIL] \u003Ccheck description> — \u003Creason>\nSTEPS:\n  1. CONFIRM: About to \u003Coperation> \u003Cresource> in account \u003Caccount> region \u003Cregion>. This will \u003Cconsequence>. Proceed? (yes\u002Fno)\n  2. \u003Cexact CLI command — no placeholders>\nPOST_VERIFY:\n  - [PASS] \u003Cverification description>\n  - [FAIL] \u003Cverification description> — \u003Creason>\nENDPOINT_TYPE: INBOUND | OUTBOUND\nSUBNETS: \u003Ccount> subnets in \u003Ccount> AZs\nSECURITY_GROUPS: \u003Ccount> (ingress: \u003CCIDR>\u002F\u003Cports>; egress: \u003CCIDR>\u002F\u003Cports>)\nFORWARDING_RULES: \u003Ccount> (domains: \u003Clist>)\nFIREWALL_GROUPS: \u003Ccount> associated (priorities: \u003Clist>)\nQUERY_LOGS: CloudWatch | S3 | Kinesis | NONE\nNOTES: \u003Cnetworking posture, DNS strategy, rule-priority caveats>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with \"Let me analyze…\" or \"I'll create…\" — the VERDICT\n  block is the FIRST line, always. No conversational preamble.\n- NEVER use lowercase verdict values — emit `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING` (not `ready`, `prerequisites`).\n- NEVER omit PRE_CHECKS — every pre-check run must appear with `[PASS]`\n  or `[FAIL]` and a specific reason for each failure. An empty\n  PRE_CHECKS block is non-compliant.\n- NEVER emit a plan with placeholder values (e.g., `\u003Cendpoint-id>`,\n  `\u003Caccount-id>`) in a READY_TO_DEPLOY plan — every field must be\n  populated with actual values from the input.\n- NEVER omit the CONFIRM gate as the first STEPS entry for any\n  state-changing operation.\n- NEVER claim success without verifying that the endpoint reached\n  `OPERATIONAL` status (via `get-resolver-endpoint`).\n- NEVER put-update an endpoint or rule without snapshotting the existing\n  config first — updates to `SecurityGroupIds` and `TargetIps` overwrite\n  silently.\n- NEVER silently allow a DNS Firewall rule group association with a\n  colliding priority — block it explicitly with a [FAIL] pre-check row.\n\n### Perfect example output\n\n```text\nRESOLVER: prod-outbound\nVERDICT: READY_TO_DEPLOY\nTARGET: prod-outbound\nPRE_CHECKS:\n  - [PASS] Endpoint name unique (no collision in list-resolver-endpoints)\n  - [PASS] 2 subnets in 2 distinct AZs (us-east-1a, us-east-1b)\n  - [PASS] Security group sg-0def456 egress UDP\u002FTCP 53 to 10.99.1.5, 10.99.2.5\n  - [PASS] VPC enableDnsSupport: true, enableDnsHostnames: true\n  - [PASS] Forwarding rule domain corp.example.local. is valid\n  - [PASS] Target IPs reachable (10.99.1.5, 10.99.2.5 port 53)\n  - [PASS] IAM principal holds route53resolver:CreateResolverEndpoint\nSTEPS:\n  1. CONFIRM: About to create-resolver-endpoint prod-outbound in account 111111111111 region us-east-1. This will CREATE a new OUTBOUND endpoint with 2 IPs in 2 AZs. Proceed? (yes\u002Fno)\n  2. aws route53resolver create-resolver-endpoint --creator-request-id outbound-1699000000 --name prod-outbound --security-group-ids sg-0def456 --direction OUTBOUND --ip-addresses '[{\"SubnetId\":\"subnet-aaa\"},{\"SubnetId\":\"subnet-bbb\"}]' --tags '[{\"Key\":\"Environment\",\"Value\":\"prod\"}]'\n  3. aws route53resolver create-resolver-rule --creator-request-id rule-1699000000 --name forward-corp-local --rule-type FORWARD --domain-name \"corp.example.local.\" --resolver-endpoint-id \u003Creturned-id> --target-ips '[{\"Ip\":\"10.99.1.5\",\"Port\":53},{\"Ip\":\"10.99.2.5\",\"Port\":53}]'\n  4. aws route53resolver associate-resolver-rule --resolver-rule-id \u003Creturned-rule-id> --vpc-id vpc-0abc123\nPOST_VERIFY:\n  - (pending execution)\n  - get-resolver-endpoint returns Status: OPERATIONAL\n  - list-resolver-rule-associations returns vpc-0abc123 with Status: COMPLETE\nENDPOINT_TYPE: OUTBOUND\nSUBNETS: 2 subnets in 2 AZs (us-east-1a, us-east-1b)\nSECURITY_GROUPS: 1 (egress: 10.99.1.5\u002F53, 10.99.2.5\u002F53)\nFORWARDING_RULES: 1 (domains: corp.example.local.)\nFIREWALL_GROUPS: 0 associated\nQUERY_LOGS: NONE\nNOTES:\n  - Outbound endpoint IPs (visible after creation) must be allowed by the on-prem firewall ACL.\n  - Forwarding rule matches corp.example.local. and all subdomains. Trailing dot is significant.\n  - Associate query log config separately if DNS query logging is required.\n```\n\n## NEVER (top 5)\n\nThese are the highest-impact, most-frequent failure modes in Route 53\nResolver deployments. Violating any one of these is a networking or\nsecurity regression.\n\n1. **NEVER create a Resolver endpoint with fewer than 2 subnets in 2\n   distinct AZs.** A single-AZ endpoint loses the high-availability\n   guarantee — if that AZ fails, all DNS forwarding stops. The API\n   requires 2 IPs minimum, but both in the same AZ silently degrades\n   HA. Block at pre-check.\n\n2. **NEVER deploy an outbound endpoint without verifying the security\n   group egress to the on-prem DNS server IPs.** The endpoint deploys\n   cleanly, but every forwarded query times out. The on-prem team sees\n   no traffic and the VPC team blames the on-prem DNS server. The\n   pre-check gate verifies egress on UDP\u002FTCP 53 to the exact target IPs.\n\n3. **NEVER associate a DNS Firewall rule group to a VPC without\n   checking priority collisions.** Each VPC can have up to 5 rule\n   group associations, each with a unique priority integer. A new\n   association with a colliding priority is rejected by the API — but\n   a non-colliding priority that semantically overrides an existing\n   ALLOW\u002FBLOCK ordering is the #1 cause of \"why is my block not\n   working\" tickets. Plan the priority ordering before associating.\n\n4. **NEVER enable query logging without a resource policy on the\n   destination.** The `route53resolver` service principal needs\n   `logs:PutLogEvents` (CloudWatch), `s3:PutObject` (S3), or\n   `firehose:PutRecord` (Kinesis) on the destination resource. Missing\n   policy = silent log drop. The pre-check gate verifies the resource\n   policy.\n\n5. **NEVER create a forwarding rule for a domain that overlaps an\n   existing rule with a lower priority integer.** The lower-priority\n   rule is evaluated first and silently shadows the new rule. The\n   pre-flight gate flags domain overlap and recommends priority\n   reordering.\n\n## Expert heuristic: choosing inbound vs outbound vs both\n\nThe right Resolver endpoint strategy is a function of where the DNS\nsource of truth lives, not a one-size-fits-all. The heuristic below\nresolves the trade-off deterministically.\n\n```\nHybrid DNS scenario\n   ├─ On-prem DNS is the source of truth for private domains?\n   │    └─ OUTBOUND endpoint + forwarding rules for corp.example.local.\n   │         VPC instances query Resolver; Resolver forwards to on-prem.\n   │         On-prem firewall must allow UDP\u002FTCP 53 from endpoint IPs.\n   │\n   ├─ Route 53 is the source of truth for private domains (Private Hosted Zones)?\n   │    └─ INBOUND endpoint. On-prem DNS forwarder points to endpoint IPs.\n   │         On-prem queries traverse Direct Connect \u002F VPN to Resolver.\n   │         Resolver answers from the Private Hosted Zone.\n   │\n   ├─ Both directions (corp.example.local. on-prem, internal.aws. on Route 53)?\n   │    └─ BOTH endpoints. Forwarding rules for on-prem domains only.\n   │         Inbound endpoint lets on-prem resolve Route 53 PHZ records.\n   │         Most common enterprise pattern.\n   │\n   └─ Pure cloud (no on-prem)?\n        └─ Neither endpoint. Resolver answers from Route 53 PHZ + public.\n             Add DNS Firewall for threat protection and query logging for audit.\n```\n\n**Decision rules:**\n- Default to BOTH endpoints for enterprise hybrid environments. The\n  marginal cost of a second endpoint is small compared to the DNS\n  troubleshooting time it saves.\n- For outbound-only, ensure the on-prem DNS servers are reachable from\n  the VPC subnets (Direct Connect, VPN, or Transit Gateway).\n- For inbound-only, ensure the on-prem DNS forwarder is configured to\n  send to the inbound endpoint IPs (not the VPC CIDR).\n- Always pair Resolver endpoints with DNS Firewall for threat protection\n  (block known-malicious domains) and query logging for audit (who\n  queried what, when).\n- For multi-account, share forwarding rules via RAM rather than\n  recreating per account. The rule is created once in the Resolver\n  administrator account and shared to member accounts.\n\nALWAYS emit `enableDnsSupport: true` and `enableDnsHostnames: true` on\nevery VPC that uses Resolver. Without both, Resolver endpoints cannot\nserve the VPC.\n\n## Recent AWS features (2024-2026)\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Recent AWS features (2024-2026)\".\n> Load when: deciding whether a newer Resolver feature (cache TTL, ALERT metrics, Firehose, RAM OU sharing, OVERRIDE, endpoint health metrics) applies\n\n## AWS documentation\n\n- **Route 53 Resolver Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002FRoute53\u002Flatest\u002FDeveloperGuide\u002Fresolver.html\n- **Resolver endpoints** — https:\u002F\u002Fdocs.aws.amazon.com\u002FRoute53\u002Flatest\u002FDeveloperGuide\u002Fresolver-endpoints.html\n- **Resolver forwarding rules** — https:\u002F\u002Fdocs.aws.amazon.com\u002FRoute53\u002Flatest\u002FDeveloperGuide\u002Fresolver-rules.html\n- **DNS Firewall** — https:\u002F\u002Fdocs.aws.amazon.com\u002FRoute53\u002Flatest\u002FDeveloperGuide\u002Fresolver-dns-firewall.html\n- **Resolver query logging** — https:\u002F\u002Fdocs.aws.amazon.com\u002FRoute53\u002Flatest\u002FDeveloperGuide\u002Fresolver-query-logs.html\n- **Resolver CLI reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Froute53resolver\u002F\n\n## References (load on demand)\n\n- [references\u002Fendpoints-and-forwarding-rules.md](references\u002Fendpoints-and-forwarding-rules.md) — endpoint and forwarding-rule procedures, including the inbound\u002Foutbound\u002Fforwarding boilerplate moved from SKILL.md\n- [references\u002Fdns-firewall-and-query-logging.md](references\u002Fdns-firewall-and-query-logging.md) — DNS Firewall and query-logging procedures, including the firewall\u002Fquery-log boilerplate moved from SKILL.md\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Step 0 non-obvious Resolver behaviors and recent AWS features\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — live-account pre-flight command listing\n\n## Domain\n\nAWS CloudOps \u002F Networking & Content Delivery — Route 53 Resolver Provisioning.\n\n","# Route 53 Resolver Deployer\n\n## What this skill does\n\nProvisions Route 53 Resolver endpoints, forwarding rules, DNS Firewall\npolicies, and query logging configurations with secure networking\ndefaults. Enforces the minimum two subnets in distinct Availability Zones\nfor every endpoint, security groups that only expose UDP\u002FTCP 53 to the\nexpected source CIDRs, forwarding rules that target reachable IPs with\nthe correct port, DNS Firewall rule group associations that do not\nconflict on priority, and query log destinations that are writable by the\n`route53resolver` service principal. Runs deterministic pre-checks\nbefore any state-changing CLI, emits the exact\n`create-resolver-endpoint`, `create-resolver-rule`,\n`create-firewall-domain-list`, `create-firewall-rule`, and\n`put-resolver-query-log-config` CLIs behind a CONFIRM gate, and verifies\nthe deployment via `get-resolver-endpoint` and\n`list-resolver-rule-associations`. Every Resolver plan surfaces the\ninbound\u002Foutbound direction, the rule-priority ordering, the firewall\naction matrix, and the query-log destination write-permission gate.\n\n## Quick navigation\n\n| Section | What it covers | When to read it |\n|---|---|---|\n| **Quick reference** | Verdict thresholds + pre-check priority order + endpoint config matrix | Before any operation |\n| **Mindset** | Why defaults matter; Resolver silent-failure modes; overwrite traps | Understanding the deployment model |\n| **Pre-flight** | Endpoint metadata gate — subnets, security groups, target IPs, IAM permissions | Before executing any CLI |\n| **Process** | Per-operation planning: inbound, outbound, forwarding rule, DNS Firewall, query logging | When choosing which operation |\n| **Common patterns** | Production hybrid DNS \u002F conditional forwarding \u002F DNS Firewall \u002F query logging boilerplate | Boilerplate lookup |\n| **STRICT output contract** | Required RESOLVER\u002FVERDICT\u002FPRE_CHECKS\u002FSTEPS\u002FPOST_VERIFY block | Formatting the response |\n| **NEVER (top 5)** | Hard rules that prevent common insecure patterns | Review before deploy |\n| **Expert heuristic** | Choosing inbound vs outbound vs both for hybrid DNS | Choosing endpoint strategy |\n\n## Quick reference — verdict thresholds\n\n| Verdict | Trigger condition | Action |\n|---|---|---|\n| `PREREQUISITES_MISSING` | Any pre-check failed (fewer than 2 subnets in distinct AZs, security group missing UDP\u002FTCP 53 ingress, outbound target IP unreachable, forwarding rule domain name malformed, DNS Firewall rule group priority collides with an existing association, query log destination ARN is not writable by route53resolver, IAM permission missing, endpoint name already exists for create) | List failures, do NOT execute |\n| `READY_TO_DEPLOY` | All pre-checks passed; awaiting CONFIRM gate | Emit exact CLI sequence with full endpoint config, wait for operator yes |\n\n**Priority order for pre-checks (apply in this sequence, all must pass for\nREADY_TO_DEPLOY):**\n\n1. **Endpoint name uniqueness** — `list-resolver-endpoints` returns no\n   endpoint with the target name (for create) or matches exactly one\n   (for update).\n2. **Subnet count and AZ diversity** — every Resolver endpoint requires\n   at least 2 IP addresses in 2 distinct Availability Zones. Fewer than\n   2 subnets is a hard block.\n3. **Security group ingress** — the referenced security group allows\n   UDP\u002FTCP 53 inbound from the expected source CIDR (the peered VPC,\n   Direct Connect, or VPN CIDR for inbound endpoints; the VPC CIDR for\n   outbound endpoints).\n4. **Security group egress** — the referenced security group allows\n   UDP\u002FTCP 53 outbound to the on-prem DNS server IPs (outbound endpoints)\n   or to the VPC CIDR (inbound endpoints).\n5. **Forwarding rule domain** — the `DomainName` is a valid DNS suffix\n   (e.g., `corp.example.local.`), trailing dot handled, not a TLD that\n   conflicts with a public domain.\n6. **Forwarding target IPs** — every IP in `TargetIps` is reachable from\n   the outbound endpoint subnets (route table check or caller-provided\n   attestation). Port 53 is the default; non-standard ports are flagged.\n7. **Rule association VPC** — the target VPC exists in the same account\n   and region (or is shared via `share-resolver-rule` cross-account).\n8. **DNS Firewall rule group priority** — the `Priority` integer on a\n   new `firewall-rule-group-association` does not collide with an\n   existing association on the same VPC. Lower priority = evaluated\n   first.\n9. **Firewall domain list content** — custom domain lists use valid\n   domain syntax with wildcards (`*.malware.example.`). Malformed\n   entries are rejected.\n10. **Firewall action consistency** — `BLOCK` actions have a\n    `BlockResponse` (NXDOMAIN, NODATA, or custom IP) and optionally a\n    `BlockOverrideDnsType`. `ALERT` logs but does not block. `ALLOW`\n    overrides a matching BLOCK in a higher-priority group.\n11. **Query log destination ARN** — the CloudWatch Logs log group, S3\n    bucket, or Kinesis Data Firehose exists and the\n    `route53resolver` service principal has write permission\n    (`logs:PutLogEvents`, `s3:PutObject`, or `firehose:PutRecord`).\n12. **Query log config name uniqueness** — `list-resolver-query-log-configs`\n    returns no config with the target name.\n13. **VPC DNS settings** — `enableDnsHostnames` and `enableDnsSupport`\n    are both `true` on the target VPC (checked via `ec2:describe-vpc-attribute`).\n14. **IAM permissions** — the operator principal holds\n    `route53resolver:CreateResolverEndpoint`,\n    `CreateResolverRule`, `AssociateResolverRule`,\n    `CreateFirewallDomainList`, `CreateFirewallRule`,\n    `CreateFirewallRuleGroupAssociation`, or\n    `PutResolverQueryLogConfig` (as applicable to the operation).\n\n**Route 53 Resolver limits (2026):**\n\n- Resolver endpoints per Region: 4 inbound + 4 outbound (soft). 2-100 IPs per endpoint (>= 2 AZs).\n- Resolver rules per account: 1000 (soft). Shareable cross-account via RAM.\n- DNS Firewall rule groups per VPC: 5 (soft). Domain lists per account: 5000. Domains per list: 200,000.\n- Query log configs per account: 2000 (soft). One query log config association per VPC.\n\n## Mindset\n\n**One-line takeaway:** Resolver silently accepts misconfigured security\ngroups and route tables. An outbound endpoint with a security group that\nblocks egress to on-prem port 53 will deploy cleanly — DNS queries from\nthe VPC will time out, and the operator will blame the on-prem DNS\nserver. The skill enforces the networking gate at pre-check time.\n\nDriven by three Resolver realities:\n\n- **Resolver endpoints need a minimum of two subnets in two AZs.** A\n  single-subnet endpoint is rejected at API time, but a two-subnet\n  endpoint where both subnets are in the same AZ silently loses HA.\n\n- **Forwarding rules are evaluated in priority order against the VPC.**\n  If two rules match the same domain suffix, the lower-priority integer\n  wins. A new rule with an overlapping domain silently shadows an\n  existing rule.\n\n- **DNS Firewall rule groups stack per VPC.** Each association has a\n  priority integer; a BLOCK in priority 1 is overridden by an ALLOW in\n  priority 2. Misordered priorities are the #1 cause of \"why is my block\n  not working\" tickets.\n\n## Pre-flight: resolver endpoint metadata gate\n\nRun before classification. Misclassifying these produces wrong plans.\n\n**Pagination:** `list-resolver-endpoints` returns at most 100 per page\n(via `--max-results`). Use `--next-token` to drain. `list-resolver-rules`\nis paginated the same way.\n\n**Live-account pre-flight (skip if offline plan audit):**\n> **Moved verbatim** → [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) § \"Pre-flight — live-account command listing\".\n> Load when: running the live-account pre-flight (endpoint name, subnets, security groups, VPC attributes, rules, firewall associations, log destinations)\n\n**Malformed input:** if the Resolver spec is missing required fields\n(`EndpointName`, `Direction`, `Subnets` (>= 2), or `SecurityGroupIds`),\nemit `VERDICT: PREREQUISITES_MISSING` with `REASON: Resolver spec\nmissing required field — EndpointName, Direction, >= 2 SubnetIds in\ndistinct AZs, or SecurityGroupIds. Cannot plan.` and `REMEDIATION:\nProvide the full endpoint configuration per\nhttps:\u002F\u002Fdocs.aws.amazon.com\u002FRoute53\u002Flatest\u002FDeveloperGuide\u002Fresolver.html.`\n\n| Attribute | Effect on operation |\n|---|---|\n| Fewer than 2 subnets | API rejects. PREREQUISITES_MISSING. |\n| Both subnets in same AZ | Deploys but loses HA. Flag in NOTES; allow if user-acknowledged. |\n| Security group missing UDP 53 ingress | DNS queries silently time out. PREREQUISITES_MISSING. |\n| Outbound target IP unreachable from subnet route table | Forwarding rule deploys but queries fail. PREREQUISITES_MISSING. |\n| Forwarding rule domain overlaps existing rule with lower priority | New rule shadows existing. Flag in NOTES. |\n| DNS Firewall rule group priority collides on VPC | API rejects. PREREQUISITES_MISSING. |\n| Query log destination not writable by route53resolver | Logs silently dropped. PREREQUISITES_MISSING. |\n| VPC enableDnsSupport false | Resolver endpoints cannot serve. PREREQUISITES_MISSING. |\n\n## Process — operation planning (apply in order)\n\n### Step 0: Expert knowledge — non-obvious Resolver behaviors\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Step 0: Expert knowledge — non-obvious Resolver behaviors\".\n> Load when: planning any operation — endpoint IP semantics, suffix matching, SYSTEM rules, RAM sharing, firewall priority, wildcard domains, query-log association\n\n### Step 1: Pre-check gate — PREREQUISITES_MISSING if any check fails\n\nRun ALL of the following pre-checks. If ANY fails, the verdict is\nPREREQUISITES_MISSING with the failed checks enumerated in PRE_CHECKS.\nDo NOT execute.\n\n**For ALL operations:**\n1. Endpoint\u002Frule\u002Fconfig name is set, \u003C= 64 chars, matches `[a-zA-Z0-9-]`.\n2. Target VPC exists, `enableDnsSupport: true`, `enableDnsHostnames: true`.\n3. IAM principal holds the relevant `route53resolver:` permission.\n\n**For create-resolver-endpoint (inbound or outbound):**\n4. `Direction` is `INBOUND` or `OUTBOUND`.\n5. `IpAddresses` contains at least 2 entries in 2 distinct AZs.\n6. Each subnet in `IpAddresses` belongs to the target VPC.\n7. `SecurityGroupIds` references exactly one or more existing security\n   groups in the VPC.\n8. For INBOUND: the security group ingress allows UDP\u002FTCP 53 from the\n   on-prem\u002Fpeered source CIDR.\n9. For OUTBOUND: the security group egress allows UDP\u002FTCP 53 to the\n   on-prem DNS server IPs.\n10. Endpoint name does not collide with an existing endpoint\n    (`list-resolver-endpoints`).\n\n**For create-resolver-rule (forwarding):**\n11. `DomainName` is a valid DNS suffix with trailing dot.\n12. `TargetIps` references at least one IP (port defaults to 53; non-53\n    flagged in NOTES).\n13. The domain does not overlap an existing forwarding rule with lower\n    priority (flag, allow with acknowledgement).\n14. `RuleType` is `FORWARD`. (`SYSTEM` rules are managed by AWS.)\n\n**For associate-resolver-rule:**\n15. The rule exists and is in a `COMPLETE` state.\n16. The target VPC exists and is not already associated with a\n    conflicting rule on the same domain.\n\n**For create-firewall-domain-list:**\n17. Domain list name does not collide.\n18. (For `import-firewall-domains`): each domain is valid syntax,\n    wildcard prefix `*.` supported, trailing dot optional.\n\n**For create-firewall-rule (in a rule group):**\n19. The referenced `FirewallDomainListId` exists.\n20. `Action` is one of `ALLOW`, `BLOCK`, `ALERT`.\n21. For `BLOCK`: `BlockResponse` is set (`NXDOMAIN`, `NODATA`,\n    `OVERRIDE`); if `OVERRIDE`, the override DNS type, value, and TTL\n    are set.\n22. `Priority` within the rule group does not collide with an existing\n    rule.\n\n**For create-firewall-rule-group-association:**\n23. The rule group exists.\n24. `Priority` does not collide with an existing association on the\n    target VPC (lower priority = evaluated first).\n25. `MutationProtection` is `ENABLED` for production associations.\n\n**For put-resolver-query-log-config:**\n26. `DestinationArn` points to an existing CloudWatch Logs log group,\n    S3 bucket, or Kinesis Firehose.\n27. The destination resource policy allows `route53resolver.amazonaws.com`\n    to write (`logs:PutLogEvents`, `s3:PutObject`, `firehose:PutRecord`).\n28. Config name does not collide.\n\n**For associate-resolver-query-log-config:**\n29. The target VPC is not already associated with another query log\n    config.\n\n### Step 2: READY_TO_DEPLOY — emit deployment plan\n\nIf all pre-checks pass, emit `VERDICT: READY_TO_DEPLOY` with the exact\nCLI sequence and the CONFIRM gate. The plan includes:\n\n- The exact `aws route53resolver create-resolver-endpoint` CLI with the\n  full config (Direction, IpAddresses, SecurityGroupIds, Name, Tags).\n- The follow-up `create-resolver-rule` CLI for each forwarding rule.\n- The follow-up `associate-resolver-rule` CLI for each VPC association.\n- The follow-up `create-firewall-domain-list` and `import-firewall-domains`\n  CLIs for each custom domain list.\n- The follow-up `create-firewall-rule` CLI for each rule in a group.\n- The follow-up `create-firewall-rule-group-association` CLI for each VPC.\n- The follow-up `put-resolver-query-log-config` and\n  `associate-resolver-query-log-config` CLIs for query logging.\n- The CONFIRM gate prompt.\n\n### Step 3: Execute behind CONFIRM gate\n\n- **MANDATORY CONFIRMATION GATE.** Before any state-changing CLI\n  (`create-resolver-endpoint`, `create-resolver-rule`,\n  `associate-resolver-rule`, `create-firewall-rule-group-association`,\n  `put-resolver-query-log-config`), emit:\n  `CONFIRM: About to \u003Coperation> \u003Cresource> in account \u003Caccount>\n  region \u003Cregion>. This will \u003Cconsequence>. Proceed? (yes\u002Fno)`. Do NOT\n  execute until the operator confirms.\n- Snapshot the current endpoint\u002Frule config before modification:\n  `aws route53resolver get-resolver-endpoint --resolver-endpoint-id \u003Cid>\n  --output json > \u002Ftmp\u002F\u003Cendpoint-name>-backup-$(date +%s).json`.\n- Execute the CLI with the full config.\n\n### Step 4: Post-verification\n\nAfter the operation finishes, run post-verification:\n\n1. `get-resolver-endpoint --resolver-endpoint-id \u003Cid>` returns\n   `Status: OPERATIONAL`.\n2. For inbound endpoints: the IP addresses are reachable from on-prem\n   (confirm with on-prem DNS admin or `dig @\u003Cip> example.com`).\n3. For outbound endpoints: the IP addresses are the source IPs the\n   on-prem DNS server sees.\n4. `list-resolver-rule-associations --resolver-rule-id \u003Cid>` returns\n   the expected VPC associations with `Status: COMPLETE`.\n5. For DNS Firewall: `list-firewall-rule-group-associations` returns\n   the association with the expected priority.\n6. For query logging: `list-resolver-query-log-config-associations`\n   returns the VPC with `Status: COMPLETE`; verify log entries appear\n   in the destination within 5 minutes.\n\n## Common resolver patterns (boilerplate)\n\n> **Moved verbatim** → [references\u002Fendpoints-and-forwarding-rules.md](references\u002Fendpoints-and-forwarding-rules.md) § \"Common patterns — inbound \u002F outbound \u002F forwarding boilerplate\".\n> Load when: assembling the create-endpoint \u002F create-rule \u002F associate-rule CLI sequence\n\n> **Moved verbatim** → [references\u002Fdns-firewall-and-query-logging.md](references\u002Fdns-firewall-and-query-logging.md) § \"Common patterns — DNS Firewall \u002F query logging boilerplate\".\n> Load when: assembling firewall domain-list\u002Frule\u002Fassociation or query-log-config CLI sequences (CloudWatch resource policy included)\n\n## STRICT output contract\n\n### Required output structure\n\nEvery response MUST begin with this block — no preamble, no conversational\nopening:\n\n```text\nRESOLVER: \u003Cendpoint-name or rule-name>\nVERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING\nTARGET: \u003Cendpoint-name> (endpoint-id: \u003Cid> for updates)\nPRE_CHECKS:\n  - [PASS] \u003Ccheck description>\n  - [FAIL] \u003Ccheck description> — \u003Creason>\nSTEPS:\n  1. CONFIRM: About to \u003Coperation> \u003Cresource> in account \u003Caccount> region \u003Cregion>. This will \u003Cconsequence>. Proceed? (yes\u002Fno)\n  2. \u003Cexact CLI command — no placeholders>\nPOST_VERIFY:\n  - [PASS] \u003Cverification description>\n  - [FAIL] \u003Cverification description> — \u003Creason>\nENDPOINT_TYPE: INBOUND | OUTBOUND\nSUBNETS: \u003Ccount> subnets in \u003Ccount> AZs\nSECURITY_GROUPS: \u003Ccount> (ingress: \u003CCIDR>\u002F\u003Cports>; egress: \u003CCIDR>\u002F\u003Cports>)\nFORWARDING_RULES: \u003Ccount> (domains: \u003Clist>)\nFIREWALL_GROUPS: \u003Ccount> associated (priorities: \u003Clist>)\nQUERY_LOGS: CloudWatch | S3 | Kinesis | NONE\nNOTES: \u003Cnetworking posture, DNS strategy, rule-priority caveats>\n```\n\n### FORBIDDEN output patterns\n\n- NEVER start with \"Let me analyze…\" or \"I'll create…\" — the VERDICT\n  block is the FIRST line, always. No conversational preamble.\n- NEVER use lowercase verdict values — emit `READY_TO_DEPLOY` or\n  `PREREQUISITES_MISSING` (not `ready`, `prerequisites`).\n- NEVER omit PRE_CHECKS — every pre-check run must appear with `[PASS]`\n  or `[FAIL]` and a specific reason for each failure. An empty\n  PRE_CHECKS block is non-compliant.\n- NEVER emit a plan with placeholder values (e.g., `\u003Cendpoint-id>`,\n  `\u003Caccount-id>`) in a READY_TO_DEPLOY plan — every field must be\n  populated with actual values from the input.\n- NEVER omit the CONFIRM gate as the first STEPS entry for any\n  state-changing operation.\n- NEVER claim success without verifying that the endpoint reached\n  `OPERATIONAL` status (via `get-resolver-endpoint`).\n- NEVER put-update an endpoint or rule without snapshotting the existing\n  config first — updates to `SecurityGroupIds` and `TargetIps` overwrite\n  silently.\n- NEVER silently allow a DNS Firewall rule group association with a\n  colliding priority — block it explicitly with a [FAIL] pre-check row.\n\n### Perfect example output\n\n```text\nRESOLVER: prod-outbound\nVERDICT: READY_TO_DEPLOY\nTARGET: prod-outbound\nPRE_CHECKS:\n  - [PASS] Endpoint name unique (no collision in list-resolver-endpoints)\n  - [PASS] 2 subnets in 2 distinct AZs (us-east-1a, us-east-1b)\n  - [PASS] Security group sg-0def456 egress UDP\u002FTCP 53 to 10.99.1.5, 10.99.2.5\n  - [PASS] VPC enableDnsSupport: true, enableDnsHostnames: true\n  - [PASS] Forwarding rule domain corp.example.local. is valid\n  - [PASS] Target IPs reachable (10.99.1.5, 10.99.2.5 port 53)\n  - [PASS] IAM principal holds route53resolver:CreateResolverEndpoint\nSTEPS:\n  1. CONFIRM: About to create-resolver-endpoint prod-outbound in account 111111111111 region us-east-1. This will CREATE a new OUTBOUND endpoint with 2 IPs in 2 AZs. Proceed? (yes\u002Fno)\n  2. aws route53resolver create-resolver-endpoint --creator-request-id outbound-1699000000 --name prod-outbound --security-group-ids sg-0def456 --direction OUTBOUND --ip-addresses '[{\"SubnetId\":\"subnet-aaa\"},{\"SubnetId\":\"subnet-bbb\"}]' --tags '[{\"Key\":\"Environment\",\"Value\":\"prod\"}]'\n  3. aws route53resolver create-resolver-rule --creator-request-id rule-1699000000 --name forward-corp-local --rule-type FORWARD --domain-name \"corp.example.local.\" --resolver-endpoint-id \u003Creturned-id> --target-ips '[{\"Ip\":\"10.99.1.5\",\"Port\":53},{\"Ip\":\"10.99.2.5\",\"Port\":53}]'\n  4. aws route53resolver associate-resolver-rule --resolver-rule-id \u003Creturned-rule-id> --vpc-id vpc-0abc123\nPOST_VERIFY:\n  - (pending execution)\n  - get-resolver-endpoint returns Status: OPERATIONAL\n  - list-resolver-rule-associations returns vpc-0abc123 with Status: COMPLETE\nENDPOINT_TYPE: OUTBOUND\nSUBNETS: 2 subnets in 2 AZs (us-east-1a, us-east-1b)\nSECURITY_GROUPS: 1 (egress: 10.99.1.5\u002F53, 10.99.2.5\u002F53)\nFORWARDING_RULES: 1 (domains: corp.example.local.)\nFIREWALL_GROUPS: 0 associated\nQUERY_LOGS: NONE\nNOTES:\n  - Outbound endpoint IPs (visible after creation) must be allowed by the on-prem firewall ACL.\n  - Forwarding rule matches corp.example.local. and all subdomains. Trailing dot is significant.\n  - Associate query log config separately if DNS query logging is required.\n```\n\n## NEVER (top 5)\n\nThese are the highest-impact, most-frequent failure modes in Route 53\nResolver deployments. Violating any one of these is a networking or\nsecurity regression.\n\n1. **NEVER create a Resolver endpoint with fewer than 2 subnets in 2\n   distinct AZs.** A single-AZ endpoint loses the high-availability\n   guarantee — if that AZ fails, all DNS forwarding stops. The API\n   requires 2 IPs minimum, but both in the same AZ silently degrades\n   HA. Block at pre-check.\n\n2. **NEVER deploy an outbound endpoint without verifying the security\n   group egress to the on-prem DNS server IPs.** The endpoint deploys\n   cleanly, but every forwarded query times out. The on-prem team sees\n   no traffic and the VPC team blames the on-prem DNS server. The\n   pre-check gate verifies egress on UDP\u002FTCP 53 to the exact target IPs.\n\n3. **NEVER associate a DNS Firewall rule group to a VPC without\n   checking priority collisions.** Each VPC can have up to 5 rule\n   group associations, each with a unique priority integer. A new\n   association with a colliding priority is rejected by the API — but\n   a non-colliding priority that semantically overrides an existing\n   ALLOW\u002FBLOCK ordering is the #1 cause of \"why is my block not\n   working\" tickets. Plan the priority ordering before associating.\n\n4. **NEVER enable query logging without a resource policy on the\n   destination.** The `route53resolver` service principal needs\n   `logs:PutLogEvents` (CloudWatch), `s3:PutObject` (S3), or\n   `firehose:PutRecord` (Kinesis) on the destination resource. Missing\n   policy = silent log drop. The pre-check gate verifies the resource\n   policy.\n\n5. **NEVER create a forwarding rule for a domain that overlaps an\n   existing rule with a lower priority integer.** The lower-priority\n   rule is evaluated first and silently shadows the new rule. The\n   pre-flight gate flags domain overlap and recommends priority\n   reordering.\n\n## Expert heuristic: choosing inbound vs outbound vs both\n\nThe right Resolver endpoint strategy is a function of where the DNS\nsource of truth lives, not a one-size-fits-all. The heuristic below\nresolves the trade-off deterministically.\n\n```\nHybrid DNS scenario\n   ├─ On-prem DNS is the source of truth for private domains?\n   │    └─ OUTBOUND endpoint + forwarding rules for corp.example.local.\n   │         VPC instances query Resolver; Resolver forwards to on-prem.\n   │         On-prem firewall must allow UDP\u002FTCP 53 from endpoint IPs.\n   │\n   ├─ Route 53 is the source of truth for private domains (Private Hosted Zones)?\n   │    └─ INBOUND endpoint. On-prem DNS forwarder points to endpoint IPs.\n   │         On-prem queries traverse Direct Connect \u002F VPN to Resolver.\n   │         Resolver answers from the Private Hosted Zone.\n   │\n   ├─ Both directions (corp.example.local. on-prem, internal.aws. on Route 53)?\n   │    └─ BOTH endpoints. Forwarding rules for on-prem domains only.\n   │         Inbound endpoint lets on-prem resolve Route 53 PHZ records.\n   │         Most common enterprise pattern.\n   │\n   └─ Pure cloud (no on-prem)?\n        └─ Neither endpoint. Resolver answers from Route 53 PHZ + public.\n             Add DNS Firewall for threat protection and query logging for audit.\n```\n\n**Decision rules:**\n- Default to BOTH endpoints for enterprise hybrid environments. The\n  marginal cost of a second endpoint is small compared to the DNS\n  troubleshooting time it saves.\n- For outbound-only, ensure the on-prem DNS servers are reachable from\n  the VPC subnets (Direct Connect, VPN, or Transit Gateway).\n- For inbound-only, ensure the on-prem DNS forwarder is configured to\n  send to the inbound endpoint IPs (not the VPC CIDR).\n- Always pair Resolver endpoints with DNS Firewall for threat protection\n  (block known-malicious domains) and query logging for audit (who\n  queried what, when).\n- For multi-account, share forwarding rules via RAM rather than\n  recreating per account. The rule is created once in the Resolver\n  administrator account and shared to member accounts.\n\nALWAYS emit `enableDnsSupport: true` and `enableDnsHostnames: true` on\nevery VPC that uses Resolver. Without both, Resolver endpoints cannot\nserve the VPC.\n\n## Recent AWS features (2024-2026)\n\n> **Moved verbatim** → [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) § \"Recent AWS features (2024-2026)\".\n> Load when: deciding whether a newer Resolver feature (cache TTL, ALERT metrics, Firehose, RAM OU sharing, OVERRIDE, endpoint health metrics) applies\n\n## AWS documentation\n\n- **Route 53 Resolver Developer Guide** — https:\u002F\u002Fdocs.aws.amazon.com\u002FRoute53\u002Flatest\u002FDeveloperGuide\u002Fresolver.html\n- **Resolver endpoints** — https:\u002F\u002Fdocs.aws.amazon.com\u002FRoute53\u002Flatest\u002FDeveloperGuide\u002Fresolver-endpoints.html\n- **Resolver forwarding rules** — https:\u002F\u002Fdocs.aws.amazon.com\u002FRoute53\u002Flatest\u002FDeveloperGuide\u002Fresolver-rules.html\n- **DNS Firewall** — https:\u002F\u002Fdocs.aws.amazon.com\u002FRoute53\u002Flatest\u002FDeveloperGuide\u002Fresolver-dns-firewall.html\n- **Resolver query logging** — https:\u002F\u002Fdocs.aws.amazon.com\u002FRoute53\u002Flatest\u002FDeveloperGuide\u002Fresolver-query-logs.html\n- **Resolver CLI reference** — https:\u002F\u002Fdocs.aws.amazon.com\u002Fcli\u002Flatest\u002Freference\u002Froute53resolver\u002F\n\n## References (load on demand)\n\n- [references\u002Fendpoints-and-forwarding-rules.md](references\u002Fendpoints-and-forwarding-rules.md) — endpoint and forwarding-rule procedures, including the inbound\u002Foutbound\u002Fforwarding boilerplate moved from SKILL.md\n- [references\u002Fdns-firewall-and-query-logging.md](references\u002Fdns-firewall-and-query-logging.md) — DNS Firewall and query-logging procedures, including the firewall\u002Fquery-log boilerplate moved from SKILL.md\n- [references\u002Fadvanced-patterns.md](references\u002Fadvanced-patterns.md) — Step 0 non-obvious Resolver behaviors and recent AWS features\n- [references\u002Fdiagnostic-commands.md](references\u002Fdiagnostic-commands.md) — live-account pre-flight command listing\n\n## Domain\n\nAWS CloudOps \u002F Networking & Content Delivery — Route 53 Resolver Provisioning.\n\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":43},{"tags":25,"phase":26,"author":27,"domain":28,"family":29,"version":30,"keywords":31,"task_type":32,"complexity":33,"entry_point":34,"skill_class":35,"when_to_use":36,"dependencies":37,"requires_llm":38,"verdict_shape":39,"lifecycle_status":40,"invocation_schema":41,"supports_pipeline":38,"activation_triggers":42},"route53, resolver, dns, networking, firewall, query-logging, deploy, hybrid-dns, vpc","1","Jacky Chan — AWS Community Builder","aws-cloudops","Networking","0.1.0","Route 53 Resolver, Resolver endpoint, inbound endpoint, outbound endpoint, forwarding rule, conditional forwarding, DNS Firewall, firewall domain list, firewall rule group, managed domain list, custom domain list, query logging, CloudWatch Logs, S3 logging, Kinesis Firehose, DNS, hybrid DNS, on-prem DNS, VPC DNS, route53resolver, rule association","deploy","high","false","capability","Creating a Route 53 Resolver inbound endpoint (on-prem resolvers forwarding to Route 53), outbound endpoint (VPC forwarding to on-prem DNS), conditional forwarding rules with VPC associations, Resolver DNS Firewall policies (managed or custom domain lists), or Resolver query logging to CloudWatch Logs, S3, or Kinesis Data Firehose.","aws-orchestrator","true","READY_TO_DEPLOY | PREREQUISITES_MISSING","active","Input: either (a) a Resolver deployment intent (create inbound endpoint, outbound endpoint, forwarding rule, DNS Firewall policy, or query log config) with target VPC, subnets, security groups, IP addresses, and forwarding targets; OR (b) an endpoint\u002Frule ID for live-account update or validation. Output: deterministic RESOLVER\u002FVERDICT\u002FPRE_CHECKS\u002F STEPS\u002FPOST_VERIFY block per operation, where VERDICT is one of READY_TO_DEPLOY, PREREQUISITES_MISSING.","create Resolver endpoint, provision Resolver inbound endpoint, provision Resolver outbound endpoint, deploy Route 53 Resolver, conditional forwarding rule, forwarding rule association, DNS Firewall, firewall domain list, firewall rule group, managed domain list, custom domain list, block DNS domains, Resolver query logging, DNS query logs CloudWatch, DNS query logs S3, hybrid DNS setup, on-prem DNS forwarding, route53resolver create-resolver-endpoint, route53resolver create-resolver-rule, route53resolver create-firewall-rule","Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan classification. Live-account operations use aws route53resolver create-resolver-endpoint, create-resolver-rule, associate-resolver-rule, create-firewall-domain-list, create-firewall-rule, create-firewall-rule-group-association, put-resolver-query-log-config, associate-resolver-query-log-config, get-resolver-endpoint, list-resolver-rule-associations (AWS CLI v2, SSO or...","main","eeace51bd5dd1db2030729d83eeab988861553aa","skills\u002Froute53-resolver-deployer",0,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills","https:\u002F\u002Fgithub.com\u002Fjhkchan","CTO & Co-Founder @Beever-AI  & @votee. CAISP. AWS Community Builder. Organizer@GDGCloudHK. MongoDB Champion. Technopreneur + Infornographer.","2026-09-24 08:54:10",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add jhkchan\u002Faws-agent-skills --skill route53-resolver-deployer",{"tool":58,"command":59},"bunx","bunx skills add jhkchan\u002Faws-agent-skills --skill route53-resolver-deployer",{"tool":61,"command":62},"pnpm","pnpm dlx skills add jhkchan\u002Faws-agent-skills --skill route53-resolver-deployer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002FSKILL.md",true,[66,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"eval\u002Ftest-cases.yaml","REFERENCE","参考文档",8153,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Feval\u002Ftest-cases.yaml",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Fbaselines\u002Fdeploy-dns-firewall-ready.md",678,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Fevals\u002Fbaselines\u002Fdeploy-dns-firewall-ready.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fbaselines\u002Fdeploy-inbound-endpoint-ready.md",540,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Fevals\u002Fbaselines\u002Fdeploy-inbound-endpoint-ready.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"evals\u002Fbaselines\u002Fdeploy-outbound-endpoint-single-az-blocked.md",499,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Fevals\u002Fbaselines\u002Fdeploy-outbound-endpoint-single-az-blocked.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"evals\u002Fbaselines\u002Fdeploy-outbound-forwarding-rule-ready.md",712,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Fevals\u002Fbaselines\u002Fdeploy-outbound-forwarding-rule-ready.md",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"evals\u002Fbaselines\u002Fdeploy-query-log-missing-resource-policy.md",581,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Fevals\u002Fbaselines\u002Fdeploy-query-log-missing-resource-policy.md",{"path":93,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":94,"sourceHtmlUrl":95},"evals\u002Feval_config.yaml",2028,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Fevals\u002Feval_config.yaml",{"path":97,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":98,"sourceHtmlUrl":99},"evals\u002Fevals.json",4916,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Fevals\u002Fevals.json",{"path":101,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":102,"sourceHtmlUrl":103},"evals\u002Fprompts\u002Fdeploy-dns-firewall-ready.md",876,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Fevals\u002Fprompts\u002Fdeploy-dns-firewall-ready.md",{"path":105,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":106,"sourceHtmlUrl":107},"evals\u002Fprompts\u002Fdeploy-inbound-endpoint-ready.md",916,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Fevals\u002Fprompts\u002Fdeploy-inbound-endpoint-ready.md",{"path":109,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":110,"sourceHtmlUrl":111},"evals\u002Fprompts\u002Fdeploy-outbound-endpoint-single-az-blocked.md",811,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Fevals\u002Fprompts\u002Fdeploy-outbound-endpoint-single-az-blocked.md",{"path":113,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":114,"sourceHtmlUrl":115},"evals\u002Fprompts\u002Fdeploy-outbound-forwarding-rule-ready.md",1123,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Fevals\u002Fprompts\u002Fdeploy-outbound-forwarding-rule-ready.md",{"path":117,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":118,"sourceHtmlUrl":119},"evals\u002Fprompts\u002Fdeploy-query-log-missing-resource-policy.md",895,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Fevals\u002Fprompts\u002Fdeploy-query-log-missing-resource-policy.md",{"path":121,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":122,"sourceHtmlUrl":123},"examples\u002FREADME.md",8351,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Fexamples\u002FREADME.md",{"path":125,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Fadvanced-patterns.md",3977,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Freferences\u002Fadvanced-patterns.md",{"path":129,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fdiagnostic-commands.md",1493,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Freferences\u002Fdiagnostic-commands.md",{"path":133,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Fdns-firewall-and-query-logging.md",10636,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Freferences\u002Fdns-firewall-and-query-logging.md",{"path":137,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Fendpoints-and-forwarding-rules.md",8191,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Freferences\u002Fendpoints-and-forwarding-rules.md",{"path":141,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":142,"sourceHtmlUrl":143},"skill.usf.yaml",4553,"https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Froute53-resolver-deployer\u002Fskill.usf.yaml",[145,152,159,166,173,180],{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":19},"01M7ADVD60X4PCAPKSE58P9NDC","xray-tracing-deployer","Deploys AWS X-Ray distributed tracing with production-grade configuration: X-Ray daemon deployment (EC2 systemd, ECS sidecar, EKS DaemonSet, Lambda built-in), SDK instrumentation (Java, Python, Node.js, Go, .NET) with annotations and metadata, sampling rules (default reservoir + rate vs custom rules with URL \u002F method \u002F service-name predicates), service map generation, trace query and retrieval, groups and insights, CloudWatch ServiceLens integration, IAM permissions (PutTraceSegments, GetSamplingRules), and latest features (Lambda Powertools tracing, OpenTelemetry \u002F ADOT Collector support, W3C trace context). Emits a READY_TO_DEPLOY checklist with every configuration item verified. Use when enabling X-Ray on a new application, adding tracing to ECS \u002F EKS \u002F Lambda, validating a sampling configuration, or generating daemon deployment CLI and IaC templates. Triggers: X-Ray, distributed tracing, X-Ray daemon, sampling rules, service map, X-Ray SDK, OpenTelemetry, ADOT, Lambda Powertools, CloudWatch ServiceLens.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fxray-tracing-deployer\u002FSKILL.md",[],[],{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":19},"01M7ADTVJ7DCBM9CB1FY51GH7J","wellarchitected-workload-auditor","Audits AWS Well-Architected Tool workloads for review staleness, per-pillar high-risk issue counts, milestone tracking gaps, and remediation plan completeness. Emits a deterministic verdict (STALE_REVIEW | HIGH_RISK | CONFIG_GAP | OK) per workload with per-pillar risk breakdown, milestone trend analysis, and specific remediation. Use when reviewing Well-Architected workloads, checking WA review freshness, auditing high-risk issues per pillar, validating milestone coverage, or tracking remediation plans.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-workload-auditor\u002FSKILL.md",[],[],{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":19},"01M7ADT59G6FTTNZYHT2QRPNNP","wellarchitected-review-operator","Operates AWS Well-Architected Tool reviews end-to-end — creates workloads, runs pillar reviews (operational excellence, security, reliability, performance, cost optimization, sustainability, Prosperity), answers questions with risk-tier rationale, generates reports and improvement plans, creates milestones, and integrates with Trusted Advisor and Well-Architected Labs. Runs deterministic pre-checks (workload existence, lens availability, pillar coverage), emits the exact update-answer \u002F get-consolidated-report CLI behind a CONFIRM gate, and verifies risk-tier transitions. Emits READY | BLOCKED | COMPLETED. Use when creating a workload, answering pillar questions, generating an improvement plan, creating a milestone, or integrating with Trusted Advisor. Triggers: well-architected tool, well architected review, workload review, pillar, operational excellence, security, reliability, performance, cost optimization, sustainability, prosperity, improvement plan, milestone, trusted advisor.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwellarchitected-review-operator\u002FSKILL.md",[],[],{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":19},"01M7ADSH5JA9QHNPPHQCD7EVA7","wafv2-web-acl-deployer","Provisions AWS WAFv2 Web ACLs with correct production defaults: scope selection (CLOUDFRONT vs REGIONAL), managed rule groups (AWSManagedRulesCommonRuleSet, SQLiRuleSet, LinuxRuleSet, WindowsRuleSet, IPReputationList, BotControlRuleSet, AmazonIpReputationList, ATP), custom rules (byte match, IP set, regex pattern, geo match, size constraint, rate-based), rule priority ordering, logging destinations (Kinesis Firehose, CloudWatch Logs, S3), resource association (ALB, API Gateway, CloudFront), rate-based rules with aggregate keys (IP, forwarded IP), Challenge and CAPTCHA actions, and account takeover prevention. Emits a READY_TO_DEPLOY checklist. Use when creating a Web ACL, attaching managed rules, configuring rate limiting, enabling WAF logging, associating a Web ACL with an ALB\u002FAPI Gateway\u002FCloudFront, or configuring CAPTCHA\u002FChallenge actions. Triggers: create WAF Web ACL, WAFv2, managed rule groups, WAF rate limiting, WAF logging, WAF CAPTCHA, WAF Challenge action, bot control, ATP managed rules.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-deployer\u002FSKILL.md",[],[],{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":19},"01M7ADRYFAT8R73FBNCHRC573X","wafv2-web-acl-auditor","Audits AWS WAFv2 Web ACL configurations to determine whether the ACL provides effective protection: default-action posture (Allow vs Block), managed-rule-group coverage gaps, rule effectiveness (BLOCK vs COUNT, shadow\u002Fbypass rules, stale exclusions), rate-based rule correctness, logging and visibility configuration, and text-transformation bypass vectors. Emits a deterministic verdict per Web ACL. Use when reviewing a WAFv2 Web ACL for security posture, checking managed-rule coverage, validating rate-limit configuration, auditing WAF logging, or hardening a WAF before production deployment. Triggers: WAF, WAFv2, Web ACL, managed rule group, AWSManagedRules, rate-based rule, CAPTCHA, Challenge, OverrideAction, Count mode, forwarded IP, Bot Control, ATP, text transformation, WAF logging, WAF visibility, OWASP, SQLi, XSS, RFI.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwafv2-web-acl-auditor\u002FSKILL.md",[],[],{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":19},"01M7ADR8W7G72JX4KFGN03QK8Q","waf-rule-deployer","Provisions AWS WAFv2 rule sets with production defaults: Web ACL creation (CloudFront scope in us-east-1 vs Regional scope), rule groups (managed vs custom) with capacity planning in WCU (Web ACL Capacity Units, 1500 default per ACL), managed rule groups (AWSManagedRulesCommonRuleSet, AWSManagedRulesSQLiRuleSet, AWSManagedRulesAmazonIpReputationList, AWSManagedRulesLinuxRuleSet, AWSManagedRulesWindowsRuleSet, AWSManagedRulesUnixRuleSet), custom rules (byte-match, regex pattern set, geo-match, rate-based), IP set and regex pattern set resources, rule priority ordering (lowest number evaluated first), action types (allow, block, count, CAPTCHA, Challenge), bot control managed rule group, account takeover. Triggers: create WAF rule, WAF managed rule group, WAF custom rule, WAF byte match, WAF geo match, WAF rate based rule, WAF IP set, WAF regex pattern set, WAF WCU budget, WAF CloudFront ACL, WAF logging Kinesis Firehose, WAF bot control, WAF ATP, WAF label matching, WAF Challenge action, WAF CAPTCHA.","https:\u002F\u002Fgithub.com\u002Fjhkchan\u002Faws-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fwaf-rule-deployer\u002FSKILL.md",[],[]]