- Remove unnecessary Lambda function and API route - Remove backend deployment from amplify.yml - Just use process.env.YOUTUBE_API_KEY directly - Keep it simple - no need for complex secret management 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
282 B
TypeScript
11 lines
282 B
TypeScript
import { defineBackend } from '@aws-amplify/backend';
|
|
import { auth } from './auth/resource';
|
|
import { data } from './data/resource';
|
|
|
|
/**
|
|
* @see https://docs.amplify.aws/react/build-a-backend/ to add storage, functions, and more
|
|
*/
|
|
defineBackend({
|
|
auth,
|
|
data,
|
|
});
|