Files
scwrypts/zsh/cloud/aws/rds/interactive-login
T

21 lines
418 B
Bash
Raw Normal View History

2022-06-22 12:17:19 -06:00
#!/bin/zsh
2023-02-21 18:44:27 -07:00
DEPENDENCIES+=()
REQUIRED_ENV+=()
use cloud/aws/rds
use db/postgres
CHECK_ENVIRONMENT
2022-06-22 12:17:19 -06:00
#####################################################################
2022-08-01 15:53:40 -06:00
RDS_INTERACTIVE_LOGIN() {
local DB_HOST DB_PORT DB_NAME DB_USER DB_PASS
2023-02-21 18:44:27 -07:00
RDS__GET_DATABASE_CREDENTIALS $@ || return 1
2022-06-22 12:17:19 -06:00
2023-08-24 17:09:30 -06:00
POSTGRES__LOGIN_INTERACTIVE
2022-06-22 12:17:19 -06:00
}
#####################################################################
2022-08-01 15:53:40 -06:00
RDS_INTERACTIVE_LOGIN $@