Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Glue Crawler with Redshift

Key Value
Services Glue, Redshift
Integrations AWS CLI
Categories ETL; Analytics

Introduction

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.

Prerequisites

Check prerequisites

make check

Installation

make install

Start LocalStack

export LOCALSTACK_AUTH_TOKEN=<your-auth-token>
make start

Run the application

make run

The 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.

License

This code is available under the Apache 2.0 license.