CDLUC3 / uc3-aws-cli

aws cli tools for uc3 servers
0 stars 1 forks source link

set SSM_ROOT_PATH as shell env var, but only if a function is called. #5

Closed ashleygould closed 4 years ago

ashleygould commented 4 years ago

re SSM_ROOT_PATH - I think this is a nice solution. if check_ssm_root fail, call create_ssm_path_from_tags. this exports SSM_ROOT_PATH into shell env but only if needed. don't want to query aws for tags everytime dpr2 logs in.