Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New serverless pattern - API Gateway - Lambda - Redshift Data API #2487

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

klmuthu
Copy link

@klmuthu klmuthu commented Oct 10, 2024

Issue #, if available:

Description of changes:

Patter to expose data from Redshift through API Gateway using Lambda and Redshift Data API.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ellisms
Copy link
Contributor

ellisms commented Nov 4, 2024

Hi @klmuthu I think you are missing the cdk.json file. When deploying, I receive this error:
--app is required either in command-line, in cdk.json or in ~/.cdk.json

Also, please include a completed example-pattern.json file

@klmuthu
Copy link
Author

klmuthu commented Nov 4, 2024

Hi @ellisms I updated the readme to use --app with cdk deploy. Also, updated the readme to create python virtual environment to avoid version conflicts. I didnt create cdk.json just to keep the repo small. Let me know if this deploys now. Please note the Redshift cluster has to be created as a prerequisite and the .env should be updated with the arn. The instructions is in the readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants