Skip to content

Commit

Permalink
init in function
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtBurns7 committed Mar 8, 2024
1 parent 61e94e3 commit 4ec6e40
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,11 @@ object JDBCImport {

object credentials {
def init(): Unit = {
"bash cred.sh".!!
"yes | apt install python3-pip".!!
"echo \"Install specific versions of botocore, s3transfer, and awscli\"".!!
"pip3 install botocore==1.31.4 s3transfer==0.6.0 awscli==1.29.4".!!
"echo \"Install credstash\"".!!
"pip3 install credstash".!!
}
def getSecretValue(secretName: String, table_name: String): String = {
val key : String =
Expand Down

0 comments on commit 4ec6e40

Please sign in to comment.