Welcome to your new dbt project!

Using the starter project

  1. Prerequisit: export variables
$ export DBT_ROLE_ARN="arn:aws:iam::$(aws sts get-caller-identity --query "Account" --output text):role/GlueInteractiveSessionRole"
$ export DBT_S3_LOCATION="s3://aws-dbt-glue-datalake-$(aws sts get-caller-identity --query "Account" --output text)-us-east-1/"
  1. Ensure your profile is setup correctly from the command line:
$ dbt debug --profiles-dir profile
  1. Run the models:
$ dbt run --profiles-dir profile
  1. Generate documentation for the project:
$ dbt docs generate --profiles-dir profile
  1. View the documentation for the project:
$ dbt docs serve --profiles-dir profile

Resources:

  • Learn more about dbt in the docs
  • Check out Discourse for commonly asked questions and answers
  • Join the chat on Slack for live discussions and support
  • Find dbt events near you
  • Check out the blog for the latest news on dbt's development and best practices