You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dns-updater cannot read the account registry: SpawnDNSLambdaExecutionRole lacks dynamodb:Scan on spawn-user-accounts #1611
Seen in production after the v0.164.0 deploy (2026-11-12). Every DNS registration logs:
warning: account registry unreadable (scan spawn-user-accounts: … AccessDeniedException: … SpawnDNSLambdaExecutionRole/spawn-dns-updater is not authorized to perform: dynamodb:Scan on resource: …:table/spawn-user-accounts …); falling back to DNS_ALLOWED_ACCOUNTS
Registrations still succeed, because `DNS_ALLOWED_ACCOUNTS` lists the three accounts in use. However, the registry the account check is meant to consult is never read, so a newly onboarded account would be refused under the now-default enforce mode until someone adds it to the env var by hand.
Fix:
Grant the role read access to the registry (`GetItem`, or `Query` on a keyed lookup, rather than a full `Scan`), or change the updater to a keyed `GetItem` by account id.
Codify the grant wherever this role's policy lives.
Add a test that the updater's IAM covers every table call it makes.
Activity
dns-updater: read the account registry with one keyed GetItem (#1611)
dns-updater: read the account registry with one keyed GetItem (#1611)
dns-updater: read the account registry with one keyed GetItem (#1611) (…