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

feat: create athena profile #54

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions files_dbt_ext/profiles/athena/profiles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Athena config reference: https://github.com/dbt-athena/dbt-athena?tab=readme-ov-file#configuring-your-profile
#
# Warning: Do not store credentials in this file unless you've take the necessary steps to remove
# this file from your git commit.
config:
send_anonymous_usage_stats: False
use_colors: True
meltano:
target: "{{ env_var('MELTANO_ENVIRONMENT', 'dev') }}" # The default profile name if no other profile is selected.
outputs:
# TODO: Optionally, revise or add to these profiles to reflect your own environments. Meltano adds dev, staging and prod by default.
dev:
type: athena
s3_staging_dir: "{{ env_var('DBT_ATHENA_S3_STAGING_DIR') }}"
s3_data_dir: "{{ env_var('DBT_ATHENA_S3_DATA_DIR') }}"
region_name: "{{ env_var('DBT_ATHENA_REGION_NAME') }}"
schema: "{{ env_var('DBT_ATHENA_SCHEMA') }}"
database: "{{ env_var('DBT_ATHENA_DATABASE') }}"
work_group: "{{ env_var('DBT_ATHENA_WORK_GROUP') }}"
staging:
type: athena
s3_staging_dir: "{{ env_var('DBT_ATHENA_S3_STAGING_DIR') }}"
s3_data_dir: "{{ env_var('DBT_ATHENA_S3_DATA_DIR') }}"
region_name: "{{ env_var('DBT_ATHENA_REGION_NAME') }}"
schema: "{{ env_var('DBT_ATHENA_SCHEMA') }}"
database: "{{ env_var('DBT_ATHENA_DATABASE') }}"
work_group: "{{ env_var('DBT_ATHENA_WORK_GROUP') }}"
prod:
type: athena
s3_staging_dir: "{{ env_var('DBT_ATHENA_S3_STAGING_DIR') }}"
s3_data_dir: "{{ env_var('DBT_ATHENA_S3_DATA_DIR') }}"
region_name: "{{ env_var('DBT_ATHENA_REGION_NAME') }}"
schema: "{{ env_var('DBT_ATHENA_SCHEMA') }}"
database: "{{ env_var('DBT_ATHENA_DATABASE') }}"
work_group: "{{ env_var('DBT_ATHENA_WORK_GROUP') }}"