Skip to main content

AWS Route 53 Resolver ExecModule

Overview​

AwsRoute53ResolverModule brings regional DNS forwarding configuration into a ValkyrAI workflow. Discover Resolver endpoints, inspect endpoint details, read Resolver rules and their forwarding targets, and enumerate the associations connecting those rules to VPCs. The connector makes these relationships available as normalized maps for comparisons, reports, and reviewed remediation tasks.

For a hybrid network, a domain's forwarding rule is only part of the picture. Reviewers also need to know which endpoint carries the traffic and which VPCs use the rule. Reading the three inventories together helps a platform team assemble that context before a migration, investigate an unexpected association, or document a network configuration review. A workflow can join rule IDs to endpoint IDs and VPC associations, apply an approved policy, and send the evidence to the appropriate team.

The five operations are read-only: list_resolver_endpoints, get_resolver_endpoint, list_resolver_rules, get_resolver_rule, and list_resolver_rule_associations. They inspect AWS configuration; they do not send DNS queries or prove that forwarding targets are reachable. Endpoint and rule changes, VPC association changes, DNS Firewall, query logging, Route 53 Profiles, tags, and endpoint IP-address enumeration are outside this release. Hosted-zone and DNS-record inventory belongs to the separate AWS Route 53 connector.

Usage​

  1. Create an AWS identity with only the Resolver read permissions required by the workflow.
  2. Store its access key ID and protected secret access key in a ValkyrAI IntegrationAccount. Verify the connection and keep its status READY.
  3. Add AWS Route 53 Resolver in Workflow Studio and select the account through General > Connection. This built-in control owns the account binding; no additional account selector or credential input is needed.
  4. Choose one AWS region and collect the required endpoint, rule, and association inventories. Continue any truncated result before interpreting it as complete.
  5. Join observed IDs, apply a reviewed comparison rule, and route the findings to a report, ticket, or approval step. Infrastructure changes require a separate authorized process.

The AWS SDK selects the regional HTTPS service endpoint. There are no caller-supplied URLs, headers, credentials, or transport options. One execution uses one region and one selected connection; a multi-region or multi-account review needs explicit workflow steps for each scope.

Inputs​

InputTypeRequiredDefaultDescription
operationstringYes—One of the five documented read operations.
regionstringYes—AWS region containing the Resolver resources, such as us-west-2.
resolverEndpointIdstringget_resolver_endpoint—Observed Resolver endpoint ID of 1–64 letters, digits, underscores, or hyphens, such as rslvr-out-0123456789abcdef0.
resolverRuleIdstringget_resolver_rule—Observed Resolver rule ID of 1–64 letters, digits, underscores, or hyphens, such as rslvr-rr-0123456789abcdef0.
limitintegerList operations only100Maximum total returned entries, from 1 to 1,000.
returnAllbooleanList operations onlyfalseFollow pages within the total result limit and 100-page bound.
nextTokenstringNo—Opaque continuation from the same list operation, region, and connection; at most 10,000 characters.

Only fields belonging to the selected operation are accepted. Unknown fields, list options on detail reads, raw credentials, custom destinations, and arbitrary request bodies fail validation before provider access. Version 1 does not expose AWS list filters. Perform comparisons after collecting the bounded inventory, and retain the same scope when resuming a continuation.

Outputs​

Every operation returns a native map rather than an AWS SDK object.

OutputDescription
statussuccess or error.
operationSelected operation.
attemptsProvider requests, including pages and retries.
resultTyperesolverEndpoints, resolverEndpoint, resolverRules, resolverRule, or resolverRuleAssociations.
items / countNormalized entries and returned count for a list operation.
dataNormalized endpoint or rule details for a get operation.
pages / hasMorePages consumed and whether a list continuation remains.
nextTokenOpaque continuation when available.
requestIdSafe AWS request identifier when available.
errorStable code, redacted message, HTTP status, and retryability.

Endpoint entries include available id, arn, name, direction, status, hostVpcId, ipAddressCount, securityGroupIds, resolverEndpointType, protocols, creationTime, and modificationTime. Rule entries include available id, arn, name, domainName, ruleType, resolverEndpointId, ownerId, shareStatus, status, creationTime, modificationTime, and targetIps. Target entries include available IPv4/IPv6 addresses, port, protocol, and server-name indication. Association entries include available id, name, resolverRuleId, vpcId, and status. Provider status messages and creator request IDs are omitted. Endpoint security groups are bounded to 100 entries with securityGroupIdsTruncated, endpoint protocols to 10 entries with protocolsTruncated, and rule targets to 1,000 entries with targetIpsTruncated. Check those flags before treating the corresponding detail as complete.

An endpoint's IP-address count is a configuration count, not the addresses themselves. Endpoint details do not enumerate the individual endpoint IP addresses. Rule target addresses describe forwarding configuration and are not a connectivity test. Treat absent optional fields as absent provider data rather than inferred values.

Internal domain names, IP addresses, security groups, VPC IDs, and account identifiers can reveal sensitive network structure. Outputs are classified as restricted. Keep reports within the audience authorized to inspect the selected account and do not place credentials or secrets in resource names.

IntegrationAccount Requirements​

Use a verified AWS IntegrationAccount in READY status through General > Connection. Its API-key field contains the access key ID and its protected password field contains the secret access key. The module consumes the platform-resolved account rather than accepting keys in workflow input.

Grant only the read actions the workflow uses:

route53resolver:ListResolverEndpoints
route53resolver:GetResolverEndpoint
route53resolver:ListResolverRules
route53resolver:GetResolverRule
route53resolver:ListResolverRuleAssociations

Scope resource-specific permissions where AWS supports them. Account inventory actions may need a broader resource scope; consult the AWS Route 53 Resolver authorization reference when writing the IAM policy. No create, update, delete, associate, or disassociate permission is needed for this connector.

Session tokens, automatic role assumption, system credential discovery, and custom endpoints are unsupported. Use a scoped access-key pair for this release and manage rotation and revocation through the connection's normal controls. n8n's AWS credentials and custom API actions are functional references for credential reuse and workflow composition; this module follows ValkyrAI's native connection and execution contract.

Configuration​

The operation input selects the regional read. The existing ExecModule retry policy controls provider attempts: three by default, configurable from one through five per request. The SDK's own retry policy is disabled so the two policies do not multiply attempts.

Safe read retries use bounded exponential backoff beginning at 250 milliseconds. Network failures, throttling, and transient provider errors may be retried. AWS Resolver can report throttling and internal service errors with HTTP 400, so use the structured retryable flag as well as the status code. Each provider attempt has a 20-second timeout and each SDK call a 30-second timeout; total execution duration also depends on page count and retries.

Operations​

Discover and inspect Resolver endpoints​

list_resolver_endpoints inventories regional endpoints. Use an observed endpoint ID with get_resolver_endpoint for a targeted read. Compare direction, status, host VPC, security groups, and configured IP-address count with an approved network inventory. This supports a review of forwarding infrastructure without changing endpoints or sending test traffic.

Discover and inspect Resolver rules​

list_resolver_rules inventories the region's rules available through the selected account. Use get_resolver_rule to inspect an observed rule ID. Join its resolverEndpointId with endpoint results and examine the domain, rule type, share status, and configured forwarding targets. A missing endpoint reference can be appropriate for some rule types; do not assume every rule must be a forwarding rule.

Review VPC associations​

list_resolver_rule_associations inventories the associations created between Resolver rules and VPCs using the selected account. Join resolverRuleId with rule results and compare vpcId with an authorized VPC inventory. For example, a workflow can flag an association outside a reviewed migration plan for human investigation. This does not prove effective DNS behavior across every sharing or association mechanism.

Errors and Failure Modes​

CodeMeaningGuidance
VALIDATION_ERRORRegion, ID, bound, field, or option is invalid.Correct the named input before retrying.
UNSUPPORTED_OPERATIONOperation is outside this read-only contract.Choose one of the five documented operations.
INTEGRATION_ACCOUNT_ERRORConnection is missing, unverified, not READY, incomplete, or supplied through a forbidden raw-credential field.Repair and verify the selected connection.
AWS_ROUTE53_RESOLVER_HTTP_400AWS rejected the request or reported a Resolver service error.Check the ID/region/token and structured retryability.
AWS_ROUTE53_RESOLVER_HTTP_403Selected identity lacks access.Grant the minimum required read action.
AWS_ROUTE53_RESOLVER_HTTP_429 / 500 / 502 / 503 / 504Throttling or transient provider failure.Bounded retries apply; exhaustion remains an error.
NETWORK_ERRORTransport failed or a provider response could not be safely normalized.Check outbound HTTPS, response bounds, and retryability.
PAGINATION_ERRORContinuation is repeated or malformed, or a page exceeds the requested bound.Treat the inventory as failed and investigate before resuming.
EXECUTION_ERRORAn unexpected local failure was contained.Review the structured result and diagnostics.

Use stable codes and retryability rather than parsing AWS exception text. Raw provider exception messages and credentials are not returned. A safe request identifier is retained when available. An error during a continued inventory does not turn partial items into a successful result.

Example​

Collect the forwarding rules in one region:

{
"operation": "list_resolver_rules",
"region": "us-west-2",
"limit": 250,
"returnAll": true
}

Illustrative normalized result:

{
"status": "success",
"operation": "list_resolver_rules",
"attempts": 1,
"resultType": "resolverRules",
"items": [
{
"id": "rslvr-rr-0123456789abcdef0",
"name": "corporate-forwarding",
"domainName": "corp.example.com.",
"ruleType": "FORWARD",
"resolverEndpointId": "rslvr-out-0123456789abcdef0",
"status": "COMPLETE",
"targetIps": [{"ip": "192.0.2.53", "port": 53}]
}
],
"count": 1,
"pages": 1,
"hasMore": false
}

Read the referenced endpoint with:

{
"operation": "get_resolver_endpoint",
"region": "us-west-2",
"resolverEndpointId": "rslvr-out-0123456789abcdef0"
}

Collect list_resolver_rule_associations with the same region and connection, join by rule ID, then compare the resulting VPC/domain/endpoint relationships with a reviewed migration plan. Route deviations to a human review task with the observed configuration. Any forwarding or association change takes place through a separate authorized process.

When a list returns hasMore: true, pass its nextToken into another invocation of the same operation with the same region and connection. A limit of 250 can require several provider requests. returnAll: true follows available pages only within the explicit total and page bounds.

Notes​

  • Pagination: Each provider request asks for at most 100 entries and no more than the remaining result budget. returnAll stops at exhaustion, the total limit of 1,000, or 100 pages. Inspect hasMore and preserve nextToken before interpreting inventory completeness.
  • Concurrent changes: Continued reads are not a transactional snapshot. Resources and associations can change while pages are being collected.
  • Rate limits: Bounded retries handle retryable throttling. Exhausted throttling is an error, not an empty inventory.
  • Idempotency: Every supported operation reads current provider state and can be repeated. Results may change when infrastructure changes.
  • Destructive behavior: None. The connector cannot mutate endpoints, rules, associations, tags, or DNS records.
  • Coverage: This release has no list filters, tag reads, endpoint IP-address enumeration, DNS probes, query logs, DNS Firewall, Profiles, or cross-account/region fan-out.
  • External validation: Deterministic tests verify request construction, response mapping, local validation, and error handling. They do not prove account access, target reachability, actual DNS resolution, or production service health.
  • Availability: A merged connector becomes available in Workflow Studio after a backend deployment includes it in the module catalog.