Skip to content

atommych/tf-athena-dbt-elementary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tf-athena-dbt-elementary

Demo Code showing Terraform, AWS Athena, dbt and elementary.

Requirements

Terraform Account and Cli:

AWS Account and Cli:

Setup AWS credentials

# Set AWS Access Key ID and AWS Secret Access Key        
aws configure

# Check credentials 
aws configure list
vi ~/.aws/credentials

# Othewise use #HardCodedAWSCredentials

Config a new environment

# Create new python env 
python3 -m venv py_env_dbt 
source py_env_dbt/bin/activate

# Edit file with your credentials and environment variables
vi setenv.sh

# Setup environment variables and config files (terraform, dbt) 
source ./setenv.sh

Build Infrastructure

Config dbt environment

Destroy Infrastructure

# Destroy Infrastructure: AWS S3, AWS Athena, AWS Glue
make destroy-all

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published