gunnar
02/15/2021, 7:15 PMdouwe_maan
02/15/2021, 8:50 PMtarget-redshift recently. Let's see if they have some experiences to share 🙂gunnar
02/15/2021, 8:55 PMdouwe_maan
02/15/2021, 9:06 PMmeltano config target-redshift is showing the credentials correctly?gunnar
02/15/2021, 9:14 PMdouwe_maan
02/15/2021, 9:15 PMgunnar
02/15/2021, 9:15 PMgunnar
02/15/2021, 9:16 PMdouwe_maan
02/15/2021, 9:17 PMdouwe_maan
02/15/2021, 9:18 PMmeltano elt in debug mode as meltano --log-level=debug elt , so that we get to see some extra output around how exactly tap and target are being executed?douwe_maan
02/15/2021, 9:18 PMdouwe_maan
02/15/2021, 9:19 PMtarget-redshift definition in meltano.yml? Sanitized, of coursegunnar
02/15/2021, 9:19 PMgunnar
02/15/2021, 9:21 PMloaders:
- name: target-redshift
namespace: target_redshift
pip_url: target-redshift
executable: target-redshift
settings:
- name: redshift_host
- name: redshift_port
- name: redshift_database
- name: redshift_username
- name: redshift_password
- name: redshift_schema
- name: default_column_length
- name: target_s3.aws_access_key_id
- name: target_s3.aws_secret_access_key
- name: target_s3.bucket
- name: target_s3.key_prefix
config:
default_column_length: 'XXXXXXXX'
redshift_database: 'XXXXXXXX'
redshift_host: 'XXXXXXXX'
redshift_password: 'XXXXXXXX'
redshift_port: 'XXXXXXXX'
redshift_schema: 'XXXXXXXX'
redshift_username: 'XXXXXXXX'
target_s3.aws_access_key_id: 'XXXXXXXX'
target_s3.aws_secret_access_key: 'XXXXXXXX'
target_s3.bucket: 'XXXXXXXX'
target_s3.key_prefix: 'XXXXXXXX'douwe_maan
02/15/2021, 9:22 PMgunnar
02/15/2021, 9:26 PMdouwe_maan
02/15/2021, 9:30 PMdouwe_maan
02/15/2021, 9:55 PM$r and $6 in passwords as environment variable expansion, and would complain that the env vars r and 6 didn't exist, and strip out those variables from the password 🤦♂️douwe_maan
02/15/2021, 9:58 PMingo_klose
02/16/2021, 7:42 AMpankaj_saini
02/16/2021, 10:08 AMTARGET_REDSHIFT_PASSWORD="<password>"). Probably dotenv plugin thinks the double quotes are part of env variable value. The dotenv plugin somehow overrides how meltano reads the .env file(and overrides all the env variable values). Disabling the dotenv plugin worked for me.douwe_maan
02/16/2021, 4:27 PMI think I solved it by putting the password in the .env file-@ingo_klose Yeah, that would resolve it, since env var expansion is only applied on values in
meltano.yml, not the environment.