| Key | Value |
|---|---|
| Services | Glue, Redshift |
| Integrations | AWS CLI |
| Categories | ETL; Analytics |
A demo application illustrating how to use AWS Glue Crawler to populate the Glue metadata store with the table schema of Redshift database tables using LocalStack. The sample demonstrates the full workflow from creating a Redshift cluster to running a crawler that discovers table metadata.
- A valid LocalStack for AWS license. Your license provides a
LOCALSTACK_AUTH_TOKENto activate LocalStack. - Docker
localstackCLIawslocalCLI
make checkmake installexport LOCALSTACK_AUTH_TOKEN=<your-auth-token>
make startmake runThe script:
- Creates a Redshift cluster and database.
- Creates a Glue connection with JDBC properties for the Redshift database.
- Creates a Glue database and a crawler.
- Runs the crawler to populate the Glue metadata store with Redshift table schemas.
This code is available under the Apache 2.0 license.