Skip To Main Content
Skip To Main Content

Appsync Unified Repo |verified| Page

This document describes a recommended structure, conventions, and workflows for an "AppSync unified repo": a single repository that centralizes GraphQL schemas, resolvers, client-generated types, infrastructure-as-code, and developer tooling for projects using AWS AppSync (or an AppSync-compatible GraphQL service). It’s intended as a practical reference for teams aiming to improve consistency, speed of iteration, and cross-project reuse.

AppSync uses data sources. Storing database credentials in a unified repo is fine (encrypted), but the rotation logic should be a separate construct. The unified repo can contain the rotation Lambda code, but keep the rotation schedule outside the API stack to avoid unintentional resetting. appsync unified repo

Use a unified repo when:

// packages/data-sources/src/types/graphql.ts generated from schema.graphql export type QueryGetPostArgs = id: string ; export type Post = id: string; title: string; content: string ; Storing database credentials in a unified repo is