.bashrc 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. [ -f ~/.fzf.bash ] && source ~/.fzf.bash
  2. ### 15Five Functions
  3. set-sts-env() {
  4. source /usr/home/powellc/src/github.com/15five/aws-cli-tooling/set-sts-env.sh
  5. }
  6. set-deploy-env() {
  7. source /usr/home/powellc/src/github.com/15five/aws-cli-tooling/set-deploy-env.sh
  8. }
  9. set-pg-env() {
  10. source /usr/home/powellc/src/github.com/15five/aws-cli-tooling/set-pg-env.sh
  11. }
  12. prod() {
  13. okta-awscli --okta-profile poweruser --profile 15five-root-poweruser
  14. set-sts-env 15five-root-poweruser 15five-production-poweruser
  15. aws eks update-kubeconfig --name $VPC_NAME
  16. kubectl -n $VPC_NAME exec -it deployment/uvicorn-web-general -- bash
  17. }
  18. shuttle() {
  19. sshuttle -r bastion.cloud100.15five.com 10.100.0.0/16
  20. }
  21. ### 15Five Functions
  22. set-sts-env() {
  23. source /home/powellc/src/github.com/15five/aws-cli-tooling/set-sts-env.sh
  24. }
  25. set-deploy-env() {
  26. source /home/powellc/src/github.com/15five/aws-cli-tooling/set-deploy-env.sh
  27. }
  28. set-pg-env() {
  29. source /home/powellc/src/github.com/15five/aws-cli-tooling/set-pg-env.sh
  30. }