Created
October 14, 2021 16:30
-
-
Save DanielDaCosta/6f3cc992b264a1fb6ab971a9b3c7327a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Env Variables | |
# Database variables are saved on SSM Parameter Store | |
$ ACCOUNT_ID=`aws sts get-caller-identity --output text --query 'Account'` | |
$ DB_PASS=`aws ssm get-parameters --region us-east-1 --names /mlflow/DB_PASS --with-decryption --query "Parameters[0].Value" --output text` | |
$ DB_HOST=`aws ssm get-parameters --region us-east-1 --names /mlflow/DB_HOST --query "Parameters[0].Value" --output text` | |
$ DB_USER=`aws ssm get-parameters --region us-east-1 --names /mlflow/DB_USER --query "Parameters[0].Value" --output text` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment