File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1111 export STAGE=dev
1212fi
1313
14+ if [ ! -z " ${DEBUG} " ]
15+ then
16+ echo " aws --profile \" lfproduct-${STAGE} \" dynamodb get-item --table-name \" cla-${STAGE} -store\" --key '{\" key\" : {\" S\" : \" ${1} \" }}' | jq -r '.'"
17+ fi
1418aws --profile " lfproduct-${STAGE} " dynamodb get-item --table-name " cla-${STAGE} -store" --key " {\" key\" : {\" S\" : \" ${1} \" }}" | jq -r ' .'
Original file line number Diff line number Diff line change 1212fi
1313if [ " ${STAGE} " = " prod" ]
1414then
15+ if [ ! -z " ${DEBUG} " ]
16+ then
17+ echo " snowsql $( cat ./snowflake.secret) -o friendly=false -o header=false -o timing=false -o output_format=plain -q \" select data from fivetran_ingest.dynamodb_product_us_east_1.cla_prod_store where key = '${1} '\" | jq -r '.'"
18+ fi
1519 snowsql $( cat ./snowflake.secret) -o friendly=false -o header=false -o timing=false -o output_format=plain -q " select data from fivetran_ingest.dynamodb_product_us_east_1.cla_prod_store where key = '${1} '" | jq -r ' .'
1620else
21+ if [ ! -z " ${DEBUG} " ]
22+ then
23+ echo " snowsql $( cat ./snowflake.secret) -o friendly=false -o header=false -o timing=false -o output_format=plain -q \" select data from fivetran_ingest.dynamodb_product_us_east1_dev.cla_dev_store where key = '${1} '\" | jq -r '.'"
24+ fi
1725 snowsql $( cat ./snowflake.secret) -o friendly=false -o header=false -o timing=false -o output_format=plain -q " select data from fivetran_ingest.dynamodb_product_us_east1_dev.cla_dev_store where key = '${1} '" | jq -r ' .'
1826fi
You can’t perform that action at this time.
0 commit comments